Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sous-titrage vidéo #1487

Closed
civodulab opened this issue May 27, 2021 · 2 comments
Closed

Sous-titrage vidéo #1487

civodulab opened this issue May 27, 2021 · 2 comments

Comments

@civodulab
Copy link

Le sous-titrage des vidéos ne fonctionne plus.

@danielweck
Copy link
Member

Hello, I am able to reproduce this regression bug, thank you for reporting it!

Note to developers: the web origin of both the <video>/<source> and captioning <track> is https:/120.0.0.1:PORT/..., but the track src fails to load (video playback works):

Unsafe attempt to load URL https://127.0.0.1:8000/... from frame with URL httpsr2://PUBLICATION_ID Domains, protocols and ports must match.

Example XHTML markup:

<video xmlns="http://www.w3.org/1999/xhtml" id="video1" autoplay="" role="button" aria-controls="video1" controls="">
                <source src="../video/shared-culture.mp4" type="video/mp4" />
                <source src="../video/shared-culture.webm" type="video/webm" />
                <track src="../captions/cc-en.vtt" srclang="en" kind="subtitles" label="English" />
                <track src="../captions/cc-fr.vtt" srclang="fr" kind="subtitles" label="Français" />                
                <div class="errmsg">
                    <p>Your Reading System does not support (this) video.</p>
                    <pre><code>
&lt;video id="video1"autoplay="" role="button" aria-controls="video1" controls=""&gt;
    &lt;source src="../video/shared-culture.mp4" type="video/mp4"&gt;&lt;/source&gt;
    &lt;source src="../video/shared-culture.webm" type="video/webm"&gt;&lt;/source&gt;
    &lt;track src="../captions/cc-en.vtt" srclang="en" kind="subtitles" label="English"&gt;&lt;/track&gt;
    &lt;track src="../captions/cc-fr.vtt" srclang="fr" kind="subtitles" label="Français"&gt;&lt;/track&gt;
&lt;/video&gt;
                    </code></pre>
                </div>
            </video>

@danielweck
Copy link
Member

Hello, the fix has been published, it will take a few minutes to propagate to the automated GitHub releases:
https://github.com/edrlab/thorium-reader/releases
You can watch this page to see when the build is finished:
https://github.com/edrlab/thorium-reader/actions/runs/882312957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants