homepage Welcome to WebmasterWorld Guest from 54.205.254.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
URL of video from a site
naark




msg:4305950
 3:38 pm on Apr 29, 2011 (gmt 0)

i want to ask here of how to find the url of the video embedded from a site.. my question was not so specific so i'll try to give an example..
for example at youtube.com the video file that they upload from their server has an extension of .flv but upon looking at the source code of their site(or a certain page on their site) you cannot find an flv file there.. so is it still linked to another file? how will i look for it?

by the way my question was not specifically intended just for youtube's source code i want to know of how was it done even on other video sharing sites....
i know every site has their own coding but i'll wait for as many answers as i can have here... thanks...

 

rocknbil




msg:4305979
 4:44 pm on Apr 29, 2011 (gmt 0)

It's possible the actual URL is in the included Javascript. You may see something like this,

<p id="video-placeholder"><img src="loading-video-please-wait.jpg" alt="loading video"></p>

... and external Javascript uses SWFObject or some other mechanism to write the video code to the video-placeholder div.

Or, along the same lines, some Javascript feed could be populating the video area from an external site, in which case there's likely no telling how it comes in. You might get some information by inspecting the elements via FireBug.

naark




msg:4306536
 3:19 pm on May 1, 2011 (gmt 0)

hmmm... about the firebug.. is it an easy to use tool or how will i use it? i'm not a professional web designer here or a graduate of a course related to it but i'm certain that i know basics of js and html... so would that be enough for me to use firebug for inspecting codes and then come up of what i'm looking for?!?


by the way sorry for late reply... got a little busy.. and still thanks for the advice

g1smd




msg:4306557
 4:44 pm on May 1, 2011 (gmt 0)

Look at View > Page Info > Media and see what's listed there.

alt131




msg:4306791
 4:40 am on May 2, 2011 (gmt 0)

Hi naark and welcome to WebmasterWorld :)
so would that be enough for me to use firebug for inspecting codes and then come up of what I'm looking for?!?
I would expect so. Like all tools you need to familiarise yourself, but I'd be surprised if you had real difficulties.

Just checked the firebug site - a real challenge to document something so powerful and clever. That does make it look a bit complicated, but although there is lots "under the hood", I think it is one of the rare tools that is "obvious" from the start. Definitely try it.

naark




msg:4307087
 9:32 pm on May 2, 2011 (gmt 0)

ok.. thanks guys for the help...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved