Add auth_timeout parameter
This commit is contained in:
parent
bfe36e8150
commit
c81ae989fd
2 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,8 @@ window.GoogleDriveYouTubePlayer = class GoogleDriveYouTubePlayer extends Player
|
|||
embed = $('<embed />').attr(
|
||||
type: 'application/x-shockwave-flash'
|
||||
src: "https://www.youtube.com/get_player?docid=#{data.id}&ps=docs\
|
||||
&partnerid=30&enablejsapi=1&cc_load_policy=1"
|
||||
&partnerid=30&enablejsapi=1&cc_load_policy=1\
|
||||
&auth_timeout=86400000000"
|
||||
flashvars: 'autoplay=1&playerapiid=uniquePlayerId'
|
||||
wmode: 'opaque'
|
||||
allowscriptaccess: 'always'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue