Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="13800503074ba43.flv" style="display:block;width:100%;height:545px;" id="the_Video_Player">
- <object id="the_Video_Player_api" name="the_Video_Player_api" data="https://movtex.com/player/pak_player2/flowplayer.commercial-3.2.16.swf"
- type="application/x-shockwave-flash" height="100%" width="100%"><param name="allowfullscreen" value="true">
- <param name="allowscriptaccess" value="always"><param name="quality" value="high"><param name="bgcolor" value="#000000">
- <param value="config={"key":"#$8e3e1f0e3edf5ddf3c6","clip":{"provider":"rtmp","connectionProvider":"secure","url":"13800503074ba43.flv"},
- "plugins":{"controls":{"stop":"true"},"rtmp":{"url":"https://movtex.com/player/pak_player2/flowplayer.rtmp-3.2.12.swf",
- "netConnectionUrl":"rtmpe://5.9.30.50:1935/vod"},"secure":{"url":"https://movtex.com/player/pak_player2/flowplayer.securestreaming-3.2.8.swf",
- "token":"#kuca#voli@macu159#753"}},"canvas":{"backgroundGradient":"none","backgroundColor":"#000000"},"playerId":"the_Video_Player","playlist":
- [{"provider":"rtmp","connectionProvider":"secure","url":"13800503074ba43.flv"}]}" name="flashvars">
- </object>
- </a>
- <!-- info box
- <div class="info box" id="infoss">
- Resolved URL shown here
- </div> -->
- <script language="JavaScript">
- var pakplayer_path = 'https://movtex.com/player/pak_player2';
- var player_logo = 'https://movtex.com/images/plaery-logo.png';
- var hq_video_file = 'http://5.9.30.50/stream/13800503074ba43-hd.mp4';
- var normal_video_file = 'http://5.9.30.50/stream/13800503074ba43.flv';
- var ytcode = '';
- var pre_item = "";
- var next_item = "";
- //Now lets write an HQ video function that swaps the original video with hq
- var video_quality = 'normal';
- function toggleQuality(obj)
- {
- if(video_quality=='normal')
- {
- video_quality = 'hq';
- flowplayer(obj).stop();
- flowplayer(obj).setClip({url:hq_video_file});
- flowplayer(obj).play();
- }
- else
- {
- video_quality = 'normal';
- flowplayer(obj).stop();
- flowplayer(obj).setClip({url:normal_video_file});
- flowplayer(obj).play();
- }
- }
- function pakplayer_hq()
- {
- toggleQuality('the_Video_Player');
- }
- has_hq_function = true;
- hq_function = pakplayer_hq;
- var menu = new Array("menu","embed/share","settings/playlist","comments");
- flowplayer("the_Video_Player", "https://movtex.com/player/pak_player2/flowplayer.commercial-3.2.16.swf", {
- key:'#$8e3e1f0e3edf5ddf3c6',
- clip: {
- // use RTMP streaming
- provider: 'rtmp',
- //url: '1379877378eca43.flv',
- // with a secured connection
- connectionProvider: 'secure'
- },
- plugins: {
- controls: {
- stop: 'true'
- },
- rtmp: {
- url: pakplayer_path+'/flowplayer.rtmp-3.2.12.swf',
- // The net connection URL with HDDN looks like this
- netConnectionUrl: 'rtmpe://5.9.30.50:1935/vod'
- },
- secure: {
- // path to latest version
- url: pakplayer_path+'/flowplayer.securestreaming-3.2.8.swf',
- // URL used to fetch a timestamp from the server
- // identical to lighttpd.conf / secdownload.secret
- token: '#kuca#voli@macu159#753'
- }
- },
- canvas: {
- backgroundGradient: "none",
- backgroundColor: "#000000"
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement