Youtube iFrame oddities context menu

I use youtube iframe to embed a video in my website. I use iframe so that website visitors who do not have a flash drive see a player capable of html5.

Everything plays and works as expected until you right-click on the video and select an option, such as "copy embed HTML", and the video moves to the left of the iframe.

When checking the source, it seems that there is a div with a class .player-actions-containerthat has a css rule left: 101%, if I delete this rule, the player will return to its original position.

demo http://www.neilcremins.com/yt_test/

unclicked image http://www.neilcremins.com/yt_test/unclicked.png

clicked image http://www.neilcremins.com/yt_test/clicked.png

+3
source share
1 answer

Your concern for the lack of Flash is currently unreasonable .

0
source

All Articles