player.js icon indicating copy to clipboard operation
player.js copied to clipboard

loadVideo() can not change playsinline param value to iFrame

Open lortschi opened this issue 6 years ago • 2 comments

Expected Behavior

Instantiate same player with playsinline property this way: player.loadVideo({ id: 'current Id of the player object', playsinline: 0 });

Actual Behavior

After reloading the same video and it's ready to play, the iFrame has no playsinline parameter in the url: <iframe src="https://player.vimeo.com/video/139953280?muted=1&amp;autoplay=1&amp;loop=1&amp;transparent=0&amp;background=1&amp;app_id=122963" width="640" height="360" framebo...

Steps to Reproduce

lortschi avatar Sep 25 '19 08:09 lortschi

@lortschi not sure this is unexpected, does the property take affect?

I think we don't serialize the passed properties back in the iframe src url. it's handled internally.

luwes avatar Feb 06 '20 17:02 luwes

I have the same problem, 'playsinline' passed via loadVideo does not work. @lortschi shouldnt the 'id' to be vimeo_id instead of player ID ?

ixon666 avatar Apr 14 '20 11:04 ixon666