
YouTube videos automatically restart if resized
When using the YouTube video embed as demo'd here, playback resumes automatically if you resize the player.
Repro steps:
1. navigate to http://support.jwplayer.com/customer/portal/articles/1406725-youtube-video-embed
2. click play
3. click pause
4. press F12 to enter dev tools
5. type the following into the console:
$('#container').width('1920px').height('1080px')
Notice the video resumes playing.
This presents a serious problem for my app, where we resize the player window based on the browser's size. Especially problematic on iPhone in my app because turning your phone to Landscape mode stops playing the current video and resumes playing the previous video.