View Full Version : Looking for a script to display video files without buttons (like play, rewind, ff)
1) Script Title: Looking for a script to display video files without buttons (like play, rewind, ff)
2) Script URL (on DD):
3) Describe problem: Hello!
Since I installed IE7 (XP Pro), I've had some serious problems to display slideshows and videofiles published on my Frontpage website.
Thanks to this forum, I was able to resolve my slideshow problems, but I still don't know how to manage my videoproblems.
As I already explained before, getting back to an earlier IE version is not a solution, since Microsoft proposes the ugrade automatically.
I would prefere not to use Flash, since not everyone has the possibility to install a Flash Player on their computer.
I know that videohosting exists and that on the internet you can find a lot of free software to make your videos work.
The problem is that I don't want videos displaying buttons (like Play, Pause, Forward or Rewind). I am looking to make videos that appear like images (if possible with an image that appears while downloading)...
Any tips?
Thanks in advance.
Hi.
I think a found a solution.
The only thing I would like to know is how to autosize the media player in the following script (see link):
http://www.dynamicdrive.com/forums/showthread.php?p=87975#post87975
If someone could help me with that, I would be very gratefull.
Thanks.
I found one!
<?> Copy & paste the following...
<!-- begin embedded WindowsMedia file... -->
<table border='0' cellpadding='0' align="left">
<tr><td>
<OBJECT id='mediaPlayer' width="320" height="285" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="http://servername/path/to/media.file">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="false">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://servername/path/to/media.file" autostart="true" designtimesp='5311' loop="true">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded WindowsMedia file -->
<!-- begin link to launch external media player... -->
<tr><td align='center'>
<a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
<!-- ...end link to launch external media player... -->
</td></tr>
</table>
To autosize, just replace
<OBJECT id='mediaPlayer' width="320" height="285"
by
<OBJECT id='mediaPlayer' autosize='-1'
I found one!
<?> Copy & paste the following...
<!-- begin embedded WindowsMedia file... -->
<table border='0' cellpadding='0' align="left">
<tr><td>
<OBJECT id='mediaPlayer' width="320" height="285" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="http://servername/path/to/media.file">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="false">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://servername/path/to/media.file" autostart="true" designtimesp='5311' loop="true">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded WindowsMedia file -->
<!-- begin link to launch external media player... -->
<tr><td align='center'>
<a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
<!-- ...end link to launch external media player... -->
</td></tr>
</table>
To autosize, just replace
<OBJECT id='mediaPlayer' width="320" height="285"
by
<OBJECT id='mediaPlayer' autosize='-1'
Could anyone still help me with this line?
<a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
I would in fact like to have the text 'Launch in external player' in Arial and Bold.
In my code, I normaly use something like <font size="2" face="Arial, Verdana, Helvetica">
Thanks.
boogyman
04-20-2007, 03:42 PM
<a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
<a href="http://host/path/file.extension" style="font-size: 85%; font-family: Arial, Verdana, Helvetica; font-weight:bold" target='_blank'>Launch in external player</a>
highlighted in bold are changes, however I would suggest that you possibly move it out of inline and make it more globalized.
If you only want to use these styles on 1 page then embed it in the head script.
<style type="text/css">
<!--
.anchors a {
font-family: Arial, Verdana, Helvetica;
font-weight: bold;
font-size: 85%;
}
// -->
</style>
If you want to use that style type thruout a number of pages then embed a link in the head
<link type="text/css" rel="stylesheet" href="path.css" />
then add the embedded styles into that file without the <style> tags
jscheuer1
04-20-2007, 03:56 PM
Could anyone still help me with this line?
<a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
I would in fact like to have the text 'Launch in external player' in Arial and Bold.
In my code, I normaly use something like <font size="2" face="Arial, Verdana, Helvetica">
Thanks.
That should actually work:
<a href="http://servername/path/to/media.file"><font size="2" face="Arial, Verdana, Helvetica"><b>Launch in external player</b></font></a>
But, would be better like so (the font tag is no longer standard):
<a href="http://servername/path/to/media.file" style="font:bold 82% Arial, Verdana, Helvetica, sans-serif;">Launch in external player</a>
Thank you so much (the 2 of you)!
It works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
macupryk
11-04-2007, 03:50 AM
<BASE HREF="http://leonardito.com/">
When I try to reference a mp3 object on my hard drive I can't.
This is in the html document.
<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/
controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName"VALUE="\mymusiclyrics\hoyesadios.mp3">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
</OBJECT>
On my hard drive it plays with
<PARAM NAME="fileName"C:\matt\music\mymusiclyrics\hoyesadios.mp3">
Say I in the html on the harddrive I put
<BASE HREF="C:\matt\music\">
How can I make it so it can play on my website dand hard drive with changing having to change the file name.
jscheuer1
11-04-2007, 04:22 AM
Don't use base href. It's fine for local stuff or for making a local copy of a live page without downloading all of the live resources. But, when you publish a live page, it should have all the actual (either networked, absolute, or relative) paths on it. The only exception is if your host requires a base href so that users can find your redirected domain, that is very rare. And, on the web, a path uses / not \.
So I think you want:
<param name="fileName" value="http://leonardito.com/mymusiclyrics/hoyesadios.mp3">
or:
<param name="fileName" value="http://www.leonardito.com/mymusiclyrics/hoyesadios.mp3">
Either is probably fine.
This assumes that there is a folder named mymusiclyrics off the root of the leonardito.com domain, and that it has a valid mp3 file in it named hoyesadios.mp3.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.