0

Hi all,

I am using object tag to play flv video in my webpage.I want to change param value dynamically so that i can play videos when i click image button. I want to do like the one in youtube but without using database.

Please help me to get rid of this problem...

Thanks in advance..

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by dsweb1017
0

Hi all,

I am using object tag to play flv video in my webpage.I want to change param value dynamically so that i can play videos when i click image button. I want to do like the one in youtube but without using database.

Please help me to get rid of this problem...

Thanks in advance..

www.flowplayer.org

Try using FlowPlayer.. its Javascript API is quite extensive. It's syntax is very similar to jQuery, so it you have programmed in the past using JQuery it will be simple for you to use. It basically utilizes swf wrappers around flash objects and a javascript library.
Here is a simple example from one of the sites I worked on. It has an image as it's splash page, which also is used to start and stop the video. It's just a couple of lines of code.

<div id="media">
        <a id="movieContainer" href="Media/somefile.flv" style="display:block;height: 334px;width: 445px;">
<img src="someimage.jpg">
        </a>
        <script>
            flowplayer("movieContainer", "Media/flowplayer-3.0.7.swf", "Media/somefile.flv",{
            clip:   {             
            autoBuffering: true
            }

         });
        </script>

Edited by Reverend Jim: Fixed formatting

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.