Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-10-2013, 04:45 PM   PM User | #1
eizo2007
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
eizo2007 is an unknown quantity at this point
Question flash video outside a browser

Hello Everyone,
I have a small problem i would like to resolve,and i am posting it here as i know there are some smart people that can help.
I would like to know if an embeded video using SWFObject can be watched from standalone player,not a browser.
Here is what i mean:
I am going to a website with embeded video on it,and because my PC is slow i would like to watch this video on standalone player(VLC) outside the browser.
I get the direct link but when i try to play it i get error not found.It is because of the scrip instructions.:This is the page source:


<div id="ctl0_Content_ShowPlayer">

<div class="player-holder">
<div class="player-top"></div>
<div class="player-ct"></div>
<div class="player-ft"></div>
<div class="player">
<div id="player-holder">
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
var flashvars = {};
flashvars.channelID = "21";
flashvars.userID = "77414";
flashvars.sessionID = "hr8mtji8t9lqu4a9s52jgkv8j1";
flashvars.hash = "db3a2e70a9496670d9859553e47e7db9";
flashvars.lang = "bg";
flashvars.streamQuality = "lq";
flashvars.playerVolume = getCookie('playerVolume');
var params = {};
params.allowfullscreen = "true";
params.allowscriptaccess = "always";
params.menu = "false";
params.quality = "best";
params.scale = "noscale";
params.wmode = "opaque";
var attributes = {};
swfobject.embedSWF("lib/flash/player.swf", "player-holder", "620", "378", "9.0.0", false, flashvars, params, attributes);
</script>



</div>

By the look it seems to be SWFObject embeded video with encripted link path(which i was able to decript).But the problem is that if i try to navigate directly to the link i cant find it.

Does anyone have an idea how to watch this types of video outside a browser?


Thank you
eizo2007 is offline   Reply With Quote
Old 01-11-2013, 01:33 AM   PM User | #2
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,550
Thanks: 9
Thanked 479 Times in 462 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
if it's not streamed, you can usually see the actual video's URL in chrome's F12 tools under the network tab.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5% IE10:8.5%
rnd me is offline   Reply With Quote
Old 01-11-2013, 11:18 AM   PM User | #3
eizo2007
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
eizo2007 is an unknown quantity at this point
Quote:
Originally Posted by rnd me View Post
if it's not streamed, you can usually see the actual video's URL in chrome's F12 tools under the network tab.
Hi
It is stream because this a live tv ,it has to be,just they have used apache and encripted link so that noone uses it outside a browser.
But thanks anyway.
eizo2007 is offline   Reply With Quote
Old 01-11-2013, 05:29 PM   PM User | #4
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,550
Thanks: 9
Thanked 479 Times in 462 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
Quote:
Originally Posted by eizo2007 View Post
Hi
It is stream because this a live tv ,it has to be,just they have used apache and encripted link so that noone uses it outside a browser.
But thanks anyway.
if it's a stream, it probably uses rtmp instead of http, which i don't think ajax can use for technical (different packet format) and security (same-origin policy) reasons.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5% IE10:8.5%
rnd me is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:19 AM.


Advertisement
Log in to turn off these ads.