Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-16-2008, 07:17 AM   #1
cranki
Confirmed User
 
Join Date: Feb 2005
Location: Café del Mar
Posts: 5,162
why do some WMVs play inside the browser.....

...and some need to be downloaded before playing externally in windows media player? What's the secret?
cranki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2008, 07:52 AM   #2
greg80
Confirmed User
 
greg80's Avatar
 
Industry Role:
Join Date: May 2007
Posts: 1,644
it's easy

if you just link to a wmv it will open separatly

if you use the right code it will play in browser

here is the code, you need to change that Movie.wmc part twice:

<object id="MMPlayer1" width=460 height=400
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="Movie.wmv" />
<param name="ShowControls" value="1" />
<param name="ShowAudioControls" value="1" />
<param name="ShowPositionControls" value="1" />
<param name="ShowTracker" value="1" />
<param name="ShowStatusBar" value="1" />
<param name="ShowDisplay" value="0" />
<param name="DefaultFrame" value="Slide" />
<param name="Autostart" value="1" />
<PARAM NAME="EnableContextMenu" VALUE="false">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/
MediaPlayer/download/default.asp"
src="Movie.wmv"
name=MMPlayer1 autostart=1
showcontrols=1 showdisplay=0 showstatusbar=1 defaultframe="Slide"
width=460 height=400> </embed>
</object>
__________________
Say no to GoDaddy and high renewal prices! Go with NameSilo - FREE private whois for life, $8.99 regstrations and renewals. Free redirects, emails, great control panel and more! NameSilo rocks!
greg80 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2008, 07:57 AM   #3
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Thanks greg80, I can use that.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2008, 08:06 AM   #4
cranki
Confirmed User
 
Join Date: Feb 2005
Location: Café del Mar
Posts: 5,162
Quote:
Originally Posted by greg80 View Post
it's easy

if you just link to a wmv it will open separatly

if you use the right code it will play in browser

here is the code, you need to change that Movie.wmc part twice:

<object id="MMPlayer1" width=460 height=400
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="Movie.wmv" />
<param name="ShowControls" value="1" />
<param name="ShowAudioControls" value="1" />
<param name="ShowPositionControls" value="1" />
<param name="ShowTracker" value="1" />
<param name="ShowStatusBar" value="1" />
<param name="ShowDisplay" value="0" />
<param name="DefaultFrame" value="Slide" />
<param name="Autostart" value="1" />
<PARAM NAME="EnableContextMenu" VALUE="false">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/
MediaPlayer/download/default.asp"
src="Movie.wmv"
name=MMPlayer1 autostart=1
showcontrols=1 showdisplay=0 showstatusbar=1 defaultframe="Slide"
width=460 height=400> </embed>
</object>
That's not what I mean... it's when I click on a linked WMV... in most cases, it opens the download prompt, but sometimes the wmv behaves like an mpeg and streams in my browser window...
cranki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2008, 09:43 AM   #5
~Ray
visit hardlinks.org
 
~Ray's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Las Vegas , Nv >>> [email protected] or icq 94994627 anytime
Posts: 18,362
when I click a .mpeg file, it opens my media player, when I click on a .mpg file, it plays it in the browser.

hate that shit.
~Ray is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2008, 06:19 PM   #6
Diligent
Confirmed User
 
Diligent's Avatar
 
Join Date: Aug 2003
Location: Hoy Suecia, mańana Nirvana
Posts: 1,594
That's server side settings, You can set up whether You want streaming or downloading of different file types, I think it's Apache handlers doing it.

Also explains why AdvertisingSex gets this with .mpg, but that with .mpeg... .mpg is set up for streaming/embedding behavior.
__________________
~¤~ MORE MONEY ~¤~ VOD? XoD! ~¤~
~¤~ ICQ# 9828 2461 ~¤~

Diligent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2008, 06:24 PM   #7
testpie
Mostly retired
 
testpie's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
Quote:
Originally Posted by cranki View Post
That's not what I mean... it's when I click on a linked WMV... in most cases, it opens the download prompt, but sometimes the wmv behaves like an mpeg and streams in my browser window...
Basically it's because of MIME-type handlers as Diligent said, but in my experience it's usually because the WMV is a wrapper for streamed MMS content.
__________________

Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder
testpie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-17-2008, 08:59 AM   #8
cranki
Confirmed User
 
Join Date: Feb 2005
Location: Café del Mar
Posts: 5,162
ah, now things become a little clearer
cranki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.