Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

designing video website

New Here ,
Feb 21, 2007 Feb 21, 2007
i want to include videos in my website is ther a player i can get for free that plays the most common video files.
TOPICS
Server side applications
999
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 21, 2007 Feb 21, 2007
There are a few ways to do this. The simplest way is this:

<EMBED SRC="videoSource" WIDTH="125" HEIGHT="150" AUTOSTART="FALSE">
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2007 Feb 21, 2007
i dont follow what does this do
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2007 Feb 21, 2007
i dont follow what does this do
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 21, 2007 Feb 21, 2007
This places a video clip in your webpage.

<EMBED SRC="videoSource" WIDTH="125" HEIGHT="150" AUTOSTART="FALSE">

SRC is the name of the video/audio file
WIDTH/HEIGHT is just what is sounds like
AUTOSTART is just like it sounds, set it to TRUE if you want the video/audio file to play on startup.

This is a very basic tag.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2007 Feb 21, 2007
i want to use videos stored in a database can i still use this
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 21, 2007 Feb 21, 2007
Yes, just make your SRC="<%=rs.fields.item("videoSource").value%>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2007 Feb 21, 2007
what if the user has no video uploaded yet do you get that horrible box with an x
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 21, 2007 Feb 21, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2007 Feb 21, 2007
could i make a record set and put the show if recordset is not empty function
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 21, 2007 Feb 21, 2007
yes
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 09, 2007 May 09, 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>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 09, 2007 May 09, 2007
Can you post a link?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 09, 2007 May 09, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 09, 2007 May 09, 2007
I see the movies no problem. In both IE and Firefox.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 09, 2007 May 09, 2007
LATEST
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',... 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',... 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines