[ARCHIVED] Re: Bug Report

jrowe
Community Member

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>

Labels (2)
0 Likes