Quantcast
Channel: support.jwplayer.com :: Streaming
Viewing all articles
Browse latest Browse all 2800

.load not work, hls stream url with url base token

$
0
0
Hello, I am jwplayer 6, and i have switched on jwplayer 7 newly, i setup my code with normal hls stream url, its working fine, but i have implement some security on my stream, after that .load function is work for stream url, because my stream url has some parameter like:-"http://multitvsolution-lh.akamaihd-staging.net/i/TVTDY01_1@382776/master.m3u8?hdnts=exp=1455193073~acl=/i/TVTDY01_1@382776/*~hmac=654857f337efeb281ead97a4acee247eb4b77b99697fa61af29757675038f976" first time, ob = jwplayer('player'); ob.setup({ file: streamfile+'?hdnts='+ token, primary: 'html5', autostart: true, androidhls: true, type: "hls", flashplayer: "http://ssl.p.jwpcdn.com/player/v/7.2.4/jwplayer.flash.swf", width: "50%", bufferlength: 0.0, aspectratio: "16:9", fallback: false, advertising: { client: "vast", tag: precampaign, admessage: "We are currently running commercial break." } }); my player is loaded fine and playing, but after advertising, i will switch again to main program using .load function ob.load([{file: streamfile+'?hdnts='+ token }]); This is not working, no error on console, i think .load not work,

Viewing all articles
Browse latest Browse all 2800

Trending Articles