Skip to main content
December 21, 2011
Answered

Playing video on a html with jquery

  • December 21, 2011
  • 1 reply
  • 8183 views

Hi

I have a php/sql database that has thumb nails and videos in swf format and flv. On my html page I have an swf player. I have echoed

the thumbnails and have the url of the videos. How can I get the video url playing on the player after a person clicks the thumbnail with

out xml. Just by passing the url to the player. Kind of how youtube works thanks.

I have hand some sucess with xml passing but this can`t  work in this aspect. So I have been investigating jquery and other alternatives.

Hope you can help.

Thanks.

This topic has been closed for replies.
Correct answer kglad

WOW

Finally working. you the best.

Thanks.


you're welcome.

1 reply

kglad
Braniac
December 21, 2011

you're loading the xml with jquery but all the thumbnails are in your swf?

December 23, 2011

Hi thanks for the reply.

Oh no. I have a folder Thumbnail and folder videos. I then have a phpmyadmin table called videos containing urls of the thumbnail and video.

On the html I echo the thumbnail of a particular video. the html contains a videoplayer with play, pause, stop menu. So I am trying to

use jquery to automaticly pass the url of the video into the videoplayer to play with out having to echo nessary xml maybe through

some actionscript that reads the passed url and plays the video.

I hope this makes sense thanks.

kglad
Braniac
January 9, 2012

Hi

Flash CS5 with actionscript 2. On old laptop.


if you have cs5 why don't you publish for fp 8 or better??