Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-03-25, 12:09 PM   #1
RedCherry
Of all the things I've lost, I miss my mind the most.
 
RedCherry's Avatar
 
Join Date: Apr 2004
Location: Middle of the Desert, Pahrump, NV
Posts: 3,187
Send a message via ICQ to RedCherry
Problem with embedded movies showing funky in firefox

Can anyone figure out if there is a fix to this? When I view these embedded trailers in NetCaptor or IE, they play the correct size. But when I view them in firefox, it seems to take the 320x240 literally and not allow for any frame width, so it cuts off part of the movie.

http://www.nothingbutcocksucking.com...-sample-3.html

I've tried changing them every which way with the different Params but can't seem to get it to show right in FireFox. Any suggestions?
RedCherry is offline   Reply With Quote
Old 2008-03-25, 02:01 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
The controller is also getting cut off in Safari. You need to give you movie height more pixels then the actual movie height for that.

Seems to have other issues too in Firefox.

Not sure about the code you are using as it is much different then what I use but I never use wmv files. For mpegs this is what I use on a movie that is 384x288.
Code:
<embed align="right" height="310" src="http://cleoslinks.com/blogpics/drum-circle-03-21-08.mp4" type="video/mpeg" width="384" autostart="false" controls="console" autoplay="false" controller="true" cache="true">
The above movie is used in my Blog if you want to see what it looks like in Firefox.
http://cleos-porn-links.com/blog/
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-03-25, 03:12 PM   #3
RedCherry
Of all the things I've lost, I miss my mind the most.
 
RedCherry's Avatar
 
Join Date: Apr 2004
Location: Middle of the Desert, Pahrump, NV
Posts: 3,187
Send a message via ICQ to RedCherry
Thanks Cleo, that worked with a bit of adjusting for wmv. Every time I played with the numbers to try and make it bigger, it didn't do anything for firefox, and screwed it all up in IE.
RedCherry is offline   Reply With Quote
Old 2008-03-25, 04:29 PM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Looks good in Firefox but you may want to give your <td> a color to match the page as it looks kind of funky in Safari.
Attached Images
File Type: png Picture 2.png (97.6 KB, 109 views)
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-03-25, 07:14 PM   #5
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Remember that Windows uses the <object> portion, and firefox uses the <embed> portion

Code:
<OBJECT id="VIDEO" width="320" height="240"
   CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
   type="application/x-oleobject">
    
   <param name="URL" VALUE="http://videofile">
   <param name="SendPlayStateChangeEvents" VALUE="True">
   <param name="AutoStart" VALUE="True">
   <param name="uiMode" value="none">
   <param name="PlayCount" value="9999">
   <param name="rate" value="1">
   <param name="balance" value="0">
   <param name="currentPosition" value="0">
   <param name="invokeURLs" value="-1">
   <param name="volume" value="90">
   <param name="mute" value="0">
   <param name="stretchToFit" value="-1">
   <param name="windowlessVideo" value="0">
   <param name="enabled" value="-1">
   <param name="enableContextMenu" value="-1">
   <param name="fullScreen" value="0">
   <param name="enableErrorDialogs" value="0">
   <embed type="application/x-mplayer2"
      pluginspage = "http://www.microsoft.com/windows/mediaPlayer/"
      id="Player"
      src="http://videofile.wmv"
      width="320"
      height="240"
      showcontrols="0"
      showstatusbar="0"
      autostart="true">
   </embed>

  </OBJECT>
The above is what I had tested in IE, Firefox, and Safari ages ago.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2008-03-25, 07:41 PM   #6
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Just fucking wonderful.

So what would be the code for a mp4 movie?
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-03-25, 07:47 PM   #7
RedCherry
Of all the things I've lost, I miss my mind the most.
 
RedCherry's Avatar
 
Join Date: Apr 2004
Location: Middle of the Desert, Pahrump, NV
Posts: 3,187
Send a message via ICQ to RedCherry
Thanks cd34, I did this:

Code:
 <OBJECT id="VIDEO" width="320" height="240"
   CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
   type="application/x-oleobject">
    
   <param name="URL" VALUE="video.wmv">
   <param name="SendPlayStateChangeEvents" VALUE="True">
   <param name="AutoStart" VALUE="True">
   <param name="uiMode" value="none">
   <param name="PlayCount" value="9999">
   <param name="rate" value="1">
   <param name="balance" value="0">
   <param name="currentPosition" value="0">
   <param name="invokeURLs" value="-1">
   <param name="volume" value="90">
   <param name="mute" value="0">
   <param name="stretchToFit" value="-1">
   <param name="windowlessVideo" value="0">
   <param name="enabled" value="-1">
   <param name="enableContextMenu" value="-1">
   <param name="fullScreen" value="0">
   <param name="enableErrorDialogs" value="0">
   <embed type="application/x-mplayer2"
      pluginspage = "http://www.microsoft.com/windows/mediaPlayer/"
      id="Player"
      src="video.wmv"
      width="384"
      height="310"
      showcontrols="0"
      showstatusbar="0"
      autostart="true">
   </embed>
And put the larger size in the embed tag, and that allowed me to have the controls and have it all show up in firefox.
RedCherry is offline   Reply With Quote
Old 2008-03-26, 08:45 AM   #8
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
My mpeg-4 movies seem to play in IE with or without the tags that Sparky posted but adding them along with some other tags that my html editor recommends makes IE properly deal with mpeg-4 movies if QuickTime is not installed prompting the surfer to download QuickTime.

This is what I'm now using on my Blog.
Code:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="310" width="384">
<param name="src" value="http://cleoslinks.com/blogpics/drum-circle-03-21-08.mp4">
<param name="autoplay" value="false">
<param name="controller" value="true">
<embed pluginspage="http://www.apple.com/quicktime/download/" align="right" src="http://cleoslinks.com/blogpics/drum-circle-03-21-08.mp4" type="video/quicktime"  autostart="false" controls="console" autoplay="false" controller="true" cache="true">
</object>
Not sure what some of the other param name tags do that Sparky had in his post.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-03-26, 03:28 PM   #9
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Some of those were determined to set hidden settings in windows media player that had odd defaults. Version 6.x defaulted one way, 7.x defaulted a different way, 8.x was able to be configured in preferences. That was when we were testing my webcam ages ago and those were the settings that I found worked consistently across all browsers, and, maintained the same look on each of them. i.e. no controls present on any of the versions.

Some settings could be skipped now since I doubt many people are still using WMP6/7, but, I'll be darned if I know which ones they were as I cannot find my original notes on it.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:14 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc