Skip to main content
Known Participant
February 21, 2007
Question

designing video website

  • February 21, 2007
  • 14 replies
  • 1012 views
i want to include videos in my website is ther a player i can get for free that plays the most common video files.
This topic has been closed for replies.

14 replies

Inspiring
May 9, 2007
I see the movies no problem. In both IE and Firefox.
RGolfer
Inspiring
May 9, 2007
HI Envision3d

Just figuered it out thanks to Paul. I knew it would be something simple. I don’t understand it of course but I made a separate column in the database this time with the file name less the .swf extension. When DW loads the player for some reason it removes the extension in the following lines when you place a video directly into the page. i.e. 'movie','/Video/VideoSpots/VerEN_East' as apposed to 'movie','/Video/VideoSpots/VerEN_East.swf' which is what my database was inserting.

Here are the changes I made:

NEW CODE

AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','325','height','260','title','Toyo Video Channel','src','<%=(VideoPlaying.Fields.Item("mv_link2").Value)%>','quality','high','pluginspage',' http://www.macromedia.com/go/getflashplayer','movie','<%=(VideoPlaying.Fields.Item("mv_link2").Value)%>' ); //end AC code

</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="325" height="260" title="Toyo Video Channel">

<param name="movie" value="<%=(VideoPlaying.Fields.Item("mv_link").Value)%>" />

<param name="quality" value="high" />

<embed src="<%=(VideoPlaying.Fields.Item("mv_link").Value)%>" width="325" height="260" autostart="false" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

</object>

</noscript>



OLD CODE

AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','325','height','260','title','Toyo Video Channel','src','<%=(VideoPlaying.Fields.Item("mv_link").Value)%>','quality','high','pluginspage',' http://www.macromedia.com/go/getflashplayer','movie','<%=(VideoPlaying.Fields.Item("mv_link").Value)%>' ); //end AC code

</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="325" height="260" title="Toyo Video Channel">

<param name="movie" value="<%=(VideoPlaying.Fields.Item("mv_link").Value)%>" />

<param name="quality" value="high" />

<embed src="<%=(VideoPlaying.Fields.Item("mv_link").Value)%>" width="325" height="260" autostart="false" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

</object>

</noscript>



I probably could probably just use one database feild and just ad the .swf extension where needed eg <%=(VideoPlaying.Fields.Item("mv_link").Value)%>.swf but what the heck!

Not sure if there is a better way of doing this but this seems to work. If you have a simpler way of doing it please let me know.

Thanks for replying. Have a great week.
RGolfer
Inspiring
May 9, 2007
Hi Again,

Here is the initial page:
http://www.toyotires.ca/Video/VideoSpots/VideoEN.asp
Here is the page it points to (by clicking an icon you basically get here too):
http://www.toyotires.ca/Video/VideoSpots/VideoEN2.asp?ID=3

Under the white box you can see the name of the flash file so I know the database is reading properly but I just can't get the video to play. Anyhelp is appreciated.
Inspiring
May 9, 2007
Can you post a link?
RGolfer
Inspiring
May 9, 2007
Hi Envision3d,

I have been trying to get a video to work from a database as well with no luck. I have tested to see that the database is working and all is fine but when I go to teh page using the "Go To Detail" page I get a blank white box. Can you give me a hane here? Here is the code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32" title="Toyo Tire Video CHannel">
<param name="movie" value="<%=(VideoPlaying.Fields.Item("mv_link").Value)%>" />
<param name="quality" value="high" />
<embed src="<%=(VideoPlaying.Fields.Item("mv_link").Value)%>" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
</object>
Inspiring
February 22, 2007
yes
Known Participant
February 22, 2007
could i make a record set and put the show if recordset is not empty function
Inspiring
February 22, 2007
You will have to do a check to see if it's there, if it is show it, if its not then don't.
Known Participant
February 22, 2007
what if the user has no video uploaded yet do you get that horrible box with an x
Inspiring
February 22, 2007
Yes, just make your SRC="<%=rs.fields.item("videoSource").value%>
Known Participant
February 22, 2007
i want to use videos stored in a database can i still use this