Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 01-16-2008, 01:47 PM   #1 (permalink)
Junior Member
 
Join Date: 01-16-08
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

heatfan is liked by many
Adding video to website

Hi
I have a .mpg clip from my camera (took video from my camera) now how do I add that to my website, I want to keep the video small. so I can put it in the upper right corner of my site (not open in Windows Media player, etc)
Thanks for your help,
Marcia
heatfan is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 01-17-2008, 06:55 AM   #2 (permalink)
v7n Mentor
 
Join Date: 09-03-07
Location: England
Posts: 549
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
Contain it within an Iframe or put in a flash file and play it through that on a loop? Remember you NEED a media player, you might not realise but your browser has media players built in or a default one is chosen when you want to watch stuff- something needs to decode the .mpg to display onto your screen properly.

I'd say playing it in flash is the best option if you have the ability to do so...
I disagree with videos playing without people asking for it though, so i might be wrong and if i am- then i'm sure someone wiser will point it out for you!

Boog's
__________________
Great new 'June' Javascript Framework

June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-19-2008, 10:59 AM   #3 (permalink)
Jeffesis
 
jdspc's Avatar
 
Join Date: 12-05-07
Location: Clear Lake City, TX
Posts: 1,228
iTrader: 0 / 0%
jdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web pro
http://www.mediacollege.com/video/fo...ing/embed.html


just a thought
__________________
Visiting Angels Houston

Creative Awnings

I spell bad because I can...
jdspc is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-19-2008, 07:53 PM   #4 (permalink)
Junior Member
 
Join Date: 02-19-08
Posts: 12
iTrader: 0 / 0%
Latest Blog:
None

danparks is liked by many
embed video player

Quote:
Originally Posted by heatfan View Post
Hi
I have a .mpg clip from my camera (took video from my camera) now how do I add that to my website, I want to keep the video small. so I can put it in the upper right corner of my site (not open in Windows Media player, etc)
Go to the link jdspc supplied. That's what you need to do. Basically, you're just embedding the "standard" Windows Media Player on your site, and specifying the name of the file to play. You specify the player size, so you can set it to play your video as small as you want (I'm assuming when you say you want to keep the video small you mean the display size of the movie, and not its byte size). You place the embed code where you want the movie to display (such as in a div or a table cell such that in your case the video player ends up in the upper right corner of your site).

Dan
danparks is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-20-2008, 06:39 AM   #5 (permalink)
Contributing Member
 
Join Date: 05-18-04
Location: Florida
Posts: 987
iTrader: 0 / 0%
Latest Blog:
None

pinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nice
This will allow links to video on the same page to play in an embedded media player


In the head:

<script language="javascript1.2" type="text/javascript">
function setFilePath(fileurl) {
var player=document.getElementById("mp_2167271702");
player.URL=fileurl;
player.controls.play();
}
</script>


A link to video:
<a class="link" href="path to stream and name/yourvideo.wmv" onclick="setFilePath('mms://path to stream and name/yourvideo.wmv');
return false">video link name</a>

Media player embed:

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="mp_2167271702" width="361" height="283"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" align="center" >
<param name="StretchToFit" value="-1">
<param name="AutoStart" value="-1">
<param name="Balance" value="0">
<param name="EnableContextMenu" value="0">
<param name="Enabled" value="-1">
<param name="EnableErrorDialogs" value="0">
<param name="WindowlessVideo" value="0">
<param name="Rate" value="1">
<param name="CurrentPosition" value="0">
<param name="CurrentMarker" value="0">
<param name="FullScreen" value="0">
<param name="URL" value="path to stream and yourvideo.wmv.asx" ref>
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="Uimode" value="full">
<param name="Volume" value="59">
<param name="defaultFrame" value>
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
</object>
<SCRIPT LANGUAGE="Javascript">
if (navigator.appName == "Netscape" && !window.GeckoActiveXObject)
{
var mediaLocation = document.location.href.substring(0, document.location.href.lastIndexOf("/")) + "path and video name.asx";
document.writeln('<APPLET NAME="mp_2167271702" HEIGHT="283" WIDTH="361" CODE="WMPNS.WMP" MAYSCRIPT>');
document.writeln('<PARAM NAME="URL" VALUE="' + unescape(mediaLocation) + '" \>');
document.writeln('<PARAM NAME="AUTOSTART" VALUE="TRUE"');
document.writeln('<PARAM NAME="STRETCHTOFIT" VALUE="True"');
document.writeln('<PARAM NAME="ENABLED" VALUE="TRUE"');
document.writeln('<PARAM NAME="WINDOWLESSVIDEO" VALUE="FALSE"');
document.writeln('<PARAM NAME="ENABLECONTEXTMENU" VALUE="FALSE"');
document.writeln('<PARAM NAME="FULLSCREEN" VALUE="FALSE"');
document.writeln('<PARAM NAME="RATE" VALUE="1.000"');
document.writeln('<PARAM NAME="CURRENTPOSITION" VALUE="0.000"');
document.writeln('<PARAM NAME="CURRENTMARKER" VALUE="0"');
document.writeln('<PARAM NAME="MUTE" VALUE="FALSE"');
document.writeln('<PARAM NAME="PLAYCOUNT" VALUE="1"');
document.writeln('<PARAM NAME="UIMODE" VALUE="FULL"');
document.writeln('</APPLET>');
}
</SCRIPT>
__________________
Just because you're paranoid doesn't necessarily mean people aren't out to get you

Last edited by pinkfluffybunny : 02-20-2008 at 06:44 AM.
pinkfluffybunny is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-01-2008, 09:18 PM   #6 (permalink)
Junior Member
 
Aritrim's Avatar
 
Join Date: 04-02-05
Posts: 22
iTrader: 0 / 0%
Latest Blog:
None

Aritrim is liked by many
You can use this streaming video software which does almost everything for you - that is conversion and generation of the HTML code (w3c compatible), not just embed codes. http://www.easyflv.com
Aritrim is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-02-2008, 09:05 AM   #7 (permalink)
Contributing Member
 
Join Date: 05-18-04
Location: Florida
Posts: 987
iTrader: 0 / 0%
Latest Blog:
None

pinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nice
Just use this kid:

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="mp_2167271702" width="361" height="283"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" align="center" >
<param name="StretchToFit" value="-1">
<param name="AutoStart" value="-1">
<param name="Balance" value="0">
<param name="EnableContextMenu" value="0">
<param name="Enabled" value="0">
<param name="EnableErrorDialogs" value="0">
<param name="WindowlessVideo" value="-1">
<param name="Rate" value="1">
<param name="CurrentPosition" value="0">
<param name="CurrentMarker" value="0">
<param name="FullScreen" value="0">
<param name="URL" value="unsaved:///path to stream and yourvideo.wmv.asx">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="Uimode" value="none">
<param name="Volume" value="59">
<param name="defaultFrame" value>
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
</object>
__________________
Just because you're paranoid doesn't necessarily mean people aren't out to get you
pinkfluffybunny is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-22-2008, 07:14 PM   #8 (permalink)
Junior Member
 
Join Date: 05-22-08
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

dilorisryan is liked by many
Lightbulb This helped me

I used this for the same job:

http://www.streamingflv.com

Think it could also be what you are looking for.

Hope it helps

Regards

Diloris
dilorisryan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-28-2008, 02:50 PM   #9 (permalink)
Junior Member
 
Join Date: 05-28-08
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

Lost My Mind is liked by many
I was searching google for help with video embedding. I found this topic in this forum. I tried the script pinkfluffybunny posted, and it worked for me. Problem is, when I tried using multiple embedded videos using this script, something goes wrong. It displays part of the code on the screen. and a second blank window.

The part it displays on the screen looks like something that tells the browser how to act if being viewed through netscape navigator.

Does anyone know whats wrong?
Lost My Mind is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-04-2008, 10:44 AM   #10 (permalink)
Junior Member
 
Join Date: 06-04-08
Location: Dublin
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

mrGahan is liked by many
Lightbulb Diloris gave the answer

Quote:
Originally Posted by Lost My Mind View Post
I was searching google for help with video embedding. I found this topic in this forum. I tried the script pinkfluffybunny posted, and it worked for me. Problem is, when I tried using multiple embedded videos using this script, something goes wrong. It displays part of the code on the screen. and a second blank window.

The part it displays on the screen looks like something that tells the browser how to act if being viewed through netscape navigator.

Does anyone know whats wrong?
Check out the Multitrack software as seen on the website Diloris posted above. Does it all and creates smaller files.
mrGahan is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-17-2008, 07:56 PM   #11 (permalink)
Contributing Member
 
Join Date: 06-28-08
Location: Dallas, TX
Posts: 147
iTrader: 0 / 0%
Latest Blog:
None

pontarae is liked by many
Check out the JW Player and compression site for FLV files. Works great!
www.jeroenwijering.com/?item=JW_FLV_Player
__________________
Final Expense Leads[/size]
pontarae is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Video to Website.. WM-Scott Web Design Lobby 11 03-03-2008 12:55 PM
Adding logo to a video funguru Graphic Design Forum 10 05-21-2007 07:31 PM
Adding flash to my website kimmitini Web Design Lobby 8 11-18-2006 02:21 PM
Adding a .wmv movie to site, question about video SFC Web Design Lobby 4 05-01-2005 01:58 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:51 PM.
© Copyright 2008 V7 Inc

Click Here