www.webdeveloper.com
Results 1 to 5 of 5

Thread: how to display a video streams url

  1. #1
    Join Date
    May 2014
    Posts
    4

    how to display a video streams url

    i need to display the url of a video stream so that the url is shown on the web page. Not the link but the entire url. I have looked everywhere but do not find how to do this or how to do it for a video.


    PHP Code:
             <a id="page-url" href="#">URL</a

  2. #2
    Join Date
    Jan 2005
    Posts
    366
    Do you know what the URL is, or are you saying you need to read the URL via JS ?

  3. #3
    Join Date
    May 2014
    Posts
    4
    yes I know what my url is but I need it to display or echo it out on the page.

  4. #4
    Join Date
    May 2014
    Posts
    4
    i found some code but its for frames so far it doesn't work for a video frame. I just need to know how to grab the url of a video stream or video so that its displayed on a web page.

  5. #5
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,348
    What type of video player are you using?

    When you know, look up how you set the URL in the player that plays the video, the variable will be accessible to JavaScript if the player is a JavaScript based player or you can grab the embed tag that is used for the flash player and traverse the DOM tree to find the SRC property of the video.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles