Results 1 to 5 of 5

Thread: how to display a video streams url

  1. #1
    Join Date
    May 2014

    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
    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
    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
    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
    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.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

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