Re: question about playlist
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Tue, 14 Aug 2007 21:03:58 GMT
On Tue, 14 Aug 2007 09:22:02 -0700, Alberto
<Alberto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Please, I have a question about playlist
I have a dynamic playlist, playlist_1.asx, created by a php script from a
mysql table.
The playlist work for a video streaming website
the mysql table contain information about:
Title_movie = varchar (ex: my first movie)
Name_file = varchar (ex: clip_1.wmv)
Time_start = time (ex: 07:30:00)
Time_length = time (ex: 00:30:00)
In a website page: show_video.php I call the playlist with
<OBJECT id = "player"
CLASSID .........
<Param Name = "autostart".....
<Param Name = "URL" value = "playlist_1.asx"...
</OBJECT>
Now I want to show, in the php page show_video.php, near the player, an
HTML table, like a datagrid, that show the information (Title_movie) about 5
movie near to the playing movie, and when change the movie, contextually
change the information in the table.
Change the information in the *database* table, or in the HTML table ?
I think you're asking to change the HTML content of the table. In that
case, you can use an HTML IFrame instead, and set its
src="show_video.php"
Or you can use one of the AJAX libraries like `Prototype` or `JQuery`
to query the show_video.php page using XMLHTTP request (so the
complete web page doesn not refresh). Look up any generic examples of
"Web 2.0" for this functionality, it need not apply to video as it's
providing just HTML/XML content.
Also, what event do you want use to trigger the change ? That the user
clicks a link ? The video ends ? We need explicit examples to propose
idea ;-)
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.
- Follow-Ups:
- Re: question about playlist
- From: Alberto
- Re: question about playlist
- Prev by Date: Re: On-demand publishing point
- Next by Date: Re: more easily navigate server side playlist
- Previous by thread: On-demand publishing point
- Next by thread: Re: question about playlist
- Index(es):
Relevant Pages
|
Loading