youtube_queue_extension
youtube_queue_extension copied to clipboard
Try using iframe instead of opening a new tab
Open the playlist in an iframe and give a button to open in a new tab.
Right now, the idea doesn't sound good, although can give an option in next edition
I'd like to add to this idea, if you want to use an iframe, try using the embeded version of the video. The difference is quite small.
Here is an example (just in-case you didn't know, which I hope isn't true and you actually know already) : Opening in tab, would require the following url => https://www.youtube.com/watch?v=JGwWNGJdvx8 But adding an embeded version uses the url => https://www.youtube.com/embed/JGwWNGJdvx8
Basically its https://www.youtube.com/watch?v=[VIDEO_CODE] changed to https://www.youtube.com/embed/[VIDEO_CODE]
And I agree with this idea, because it doesn't add to the tab, and you could actually add the embed player on a div that you didn't show.
And adding more, since I believe you'd require the embed video to auto play, add ?autoplay=1 at the end of the url. (source:https://stackoverflow.com/questions/7281765/youtube-iframe-embed-auto-play)
@hackedhacker the implementation isn't the question for now. I am not really sure if iframe should be used or not. Because I look at this extension as just a controller for youtube and not a youtube player. So I don't see the benefits of using iframe.