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..

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>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.