Skip to main content
Known Participant
Dec 12, 2011 4:46 PM UTC
Question

How to edit this to say (no live stream at this time instead of loading)

<div id="content2_vid">

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="377" id="videoPlayer" name="videoPlayer" type="application/x-shockwave-flash" width="640"><param name="movie" value="http://video.domain.com/swfs/videoPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowfullscreen" value="true" /><param name="flashvars" value="&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=live&autoStart=true&serverURL=rtmp://video.domain.com/live/livestream" /><embed allowfullscreen="true" bgcolor="#000000" flashvars="&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=live&autoStart=true&serverURL=rtmp://video.domain.com/live/livestream" height="377" id="videoPlayer" name="videoPlayer" pluginspage="http://www.adobe.com/go/getflashplayer" quality="high" src="http://video.domain.com/swfs/videoPlayer.swf" type="application/x-shockwave-flash" width="640"></embed></object></div>

How can you change this to where when the page is loaded it does not say (loading) and it will say (No live video streams) you can view archived videos.

Is this on the server FMS Interactive in the configuration or can it be done from the code inserted above?

Any help/advice would be great.

Thanks

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    aruserAuthor
    Known Participant
    Dec 14, 2011 8:23 PM UTC

    Would this file on the server need to be modified to get rid of 'loading...'

    videoPlayer.swf

    Does anyone know?

    Translate
    Dec 14, 2011 8:33 PM UTC

    Yes, the .swf contains the logic for displaying that message.

    That said, you'd need the source code (either an .fla or a Flex project) in order to modify the .swf.

    Translate
    aruserAuthor
    Known Participant
    Dec 14, 2011 8:47 PM UTC

    Will this program work?

    Sothink to change this?

    Is there another product or program you recommend to change this?

    Translate
    Nikhil_Kalyan
    Participating Frequently
    Dec 13, 2011 4:30 PM UTC

    Hi,

    You mean to say, the small boxed text that comes in the middle of the video player ? If that's so, i guess that is to be made on the client side, there must be a variable on the swf object to disable it, and instead you might have to tweak the code of the swf to load some other image/graphic that shows your text.

    Translate
    aruserAuthor
    Known Participant
    Dec 13, 2011 4:37 PM UTC

    The code above is what is pesently on the server, what inside this code would need editing?

    Presently it just states:

    loading...

    I would like for it to say (no live video stream) an image would be great (how do I change the code)?

    Do you know what part of this needs to be added/modified to say 'no live video stream is currently schduled' <--- example

    This is my code that I am using it needs to be done on the server side.

    <p>

         </p>

    <div id="content2_vid">

        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="377" id="videoPlayer" name="videoPlayer" type="application/x-shockwave-flash" width="640"><param name="movie" value="http://video.domain.com/swfs/videoPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowfullscreen" value="true" /><param name="flashvars" value="&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=live&autoStart=true&serverURL=rtmp://video.domain.com/live/livestream" /><embed allowfullscreen="true" bgcolor="#000000" flashvars="&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=live&autoStart=true&serverURL=rtmp://video.domain.com/live/livestream" height="377" id="videoPlayer" name="videoPlayer" pluginspage="http://www.adobe.com/go/getflashplayer" quality="high" src="http://video.domain.com/swfs/videoPlayer.swf" type="application/x-shockwave-flash" width="640"></embed></object></div>

    <p>

         </p>

    Thanks

    Translate