1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
-
-
-
- function psc(o){
- let event = o.args[0]
- // if (event. == )
-
- // event.data.push(event.data)
- glob_dbg.yt.psl.push(event.data)
- clog("yt_s psc",event.data,"~",event.target.getPlayerState(),event.target,event)
- if (event.data == YT.PlayerState.PLAYING){
- // glob_dbg.yt.unstart ? 0 : clog("yt_s psc","UNSTART 1")
- glob_dbg.yt.unstart ? clog("yt_s psc","UNSTART 1") : 0
- window.yt_rem1 ? window.yt_rem1() : clog("yt_dbg NO yt_rem1")
- glob_dbg.yt.unstart = 0
- }
- window.ytp_unstart ? ytp_started_check(o.args[0]) : 0
- }
- glob_dbg.yt = glob_dbg.yt || {psl:[]}
-
- svm_win = {
- onYouTubeIframeAPIReady:function (o) {
-
- },
- onPlayerStateChange:function (o) {
- // clog("xyz",o.args[0])
- // clog("yt_0dbg","onPlayerStateChange",o,)
- // console.trace("OPSC")
-
- // if ()
- psc(o)
- // window.ytp_unstart ? ytp_started_check(o.args[0]) : 0
-
- },
- onVideoProgress:function (o) {
-
- },
- onVolumeChange:function (o) {
-
- },
- onPlayerReady:function (o) {
- glob_dbg.yt.psl.push("R")
- glob_dbg.yt.unstart = 1
-
- },
- onPlayerError:function (o) {
-
- },
- svm:function (o) {
- try {
- // clog("svm xyz",this,o)
- // clog("yt_0dbg","svm",o.fn_name,o)
- this[o.fn_name](o)
-
- }catch (err) {
-
- clog("svm xyz err",err)
- }
- },
- }
-
|