2018-05-18, 04:51 AM
Youtube videos without the &t=Xs timestamp aren't showing.
Videos with the time parameter work but not those without.
Here is the test code:
Link to my example testing
Testing without timestamp here:
With Timestamp added:
The difference is the one without the timestamp has this code:
And one with the timestamp uses this:
Seems the timestamp element code may be back to front in the iframe as with the timestamp its showing the main video without the timestamp and one without has the '" target' which is bugging things.
Instead of a straight iframe you guys should look into the YouTube API
Fixed using this parser change Shade- Fixed embedded videos not working after #2968 but no timestamp works they both start the video from the beginning.
So that needs to be fixed also.
Videos with the time parameter work but not those without.
Here is the test code:
[vid**=youtube]https://www.youtube.com/watch?v=woAHwpOLmyY[/video]
[vid**=youtube]https://www.youtube.com/watch?v=woAHwpOLmyY&t=0s[/video]
Link to my example testing
Testing without timestamp here:
With Timestamp added:
The difference is the one without the timestamp has this code:
<iframe width="560" height="315" src="//www.youtube.com/embed/woAHwpOLmyY" target" frameborder="0" allowfullscreen=""></iframe>
And one with the timestamp uses this:
<iframe width="560" height="315" src="//www.youtube.com/embed/woAHwpOLmyY" frameborder="0" allowfullscreen=""></iframe>
Seems the timestamp element code may be back to front in the iframe as with the timestamp its showing the main video without the timestamp and one without has the '" target' which is bugging things.
Instead of a straight iframe you guys should look into the YouTube API
Fixed using this parser change Shade- Fixed embedded videos not working after #2968 but no timestamp works they both start the video from the beginning.
So that needs to be fixed also.