[ARCHIVED] Re: Bug Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2017
03:42 PM
Bug when adding youtube videos with time code
steps:
Create new module
create new text page
type in a paragraph of text
paste in URL to video URL
https://youtu.be/zC-fjTuLl1c?t=7m0s
save
view page
result: video shows up, but click play (>) and it does not start video at 7minutes zero seconds as expected
expected result: Hit play and see video start at 7 minutes, zero seconds embedded
more notes:
Embed code API of youtube is seconds only for time measurements.
so the 7m0s needs to be converted to 420. That's 420 seconds.
the attribute in HTML code looks like
<iframe
src="https://www.youtube.com/embed/zC-fjTuLl1c?start=420"
>
</iframe>
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.