No news is good news.
// Windows Media Player
} elseif ( ($arrVideoDim[2] == 'asf' or $arrVideoDim[2] == 'riff') ) {
print ' <object id="MediaPlayer" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" 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" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+64).'">'."\n";
print ' <param name="url" value="'.$strVideoURL.'" />'."\n";
print ' <param name="AutoStart" value="true" />'."\n";
print ' <param name="EnableTracker" value="false" />'."\n";
print ' <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="'.$strVideoURL.'" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+44).'" autostart="1" showcontrols="1">'."\n";
print ' </embed> '."\n";
print ' </object>'."\n"; // Windows Media Player
} elseif ( $arrVideoDim[2] == 'asf' ) {
print ' <object id="MediaPlayer" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" 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" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+64).'">'."\n";
print ' <param name="url" value="'.$strVideoURL.'" />'."\n";
print ' <param name="AutoStart" value="true" />'."\n";
print ' <param name="EnableTracker" value="false" />'."\n";
print ' <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="'.$strVideoURL.'" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+44).'" autostart="1" showcontrols="1">'."\n";
print ' </embed> '."\n";
print ' </object>'."\n";
// DiVX
} elseif ( $arrVideoDim[2] == 'riff' ) {
print ' <object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+20).'" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">'."\n";
print ' <param name="src" value="'.$strVideoURL.'" />'."\n";
print ' <param name="custommode" value="Stage6" />'."\n";
print ' <param name="autoPlay" value="false" />'."\n";
print ' <embed type="video/divx " src="'.$strVideoURL.'" custommode="Stage6" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+20).'" autoplay="false" pluginspage="http://go.divx.com/plugin/download/">'."\n";
print ' </embed>'."\n";
print ' </object>'."\n";
//The Object & Embed Tag for the Video Clip
if ( $arrVideoDim[2] == 'real' ) {
print ' <table class="'.CLASS_TABLE_SHADOWS.'">'."\n";
(.....)
// DIVX Player
} elseif ( ($arrVideoDim[2] == 'avi' or $arrVideoDim[2] == 'dvx') ) {
print ' <object id="DIVXPlayer" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+64).'">'."\n";
print ' <param name="src" value="'.$strVideoURL.'" />'."\n";
print ' <param name="autoPlay" value="false" />'."\n";
print ' <embed type="video/divx" pluginspage="http://go.divx.com/plugin/download/" src="'.$strVideoURL.'" width="'.$arrVideoDim[0].'" height="'.($arrVideoDim[1]+44).'" autoPlay="false">'."\n";
print ' </embed> '."\n";
print ' </object>'."\n";
// Shockwave Player
} elseif ( $arrVideoDim[2] == 'swf' ) {
(.....)

Quote from: uk_skinner on August 31, 2007, 03:15:58 PM
Broesel/Morpheus/nas/GJCV:
Sorry, to response so late. I will take a look over weekend.
Edit: Weather.com uses different html code in USA and non-usa countries. It will take some time to modify the codes.

Page created in 0.081 seconds with 15 queries.