| ############################################################################### |
| ############################################################################### |
| # MediaCenter.pl # |
| # MediaCenter.pm # |
| |
| # $Date: 01.05.16 $ # |
| ############################################################################### |
| ############################################################################### |
| # YaBB: Yet another Bulletin Board # |
| # YaBB: Yet another Bulletin Board # |
| # Open-Source Community Software for Webmasters # |
| # Open-Source Community Software for Webmasters # |
| # Version: YaBB 2.5.2 # |
| # Version: YaBB 2.6.12 # |
| # Packaged: October 21, 2012 # |
| # Packaged: January 5, 2016 # |
| # Distributed by: http://www.yabbforum.com # |
| # Distributed by: http://www.yabbforum.com # |
| # =========================================================================== # |
| # =========================================================================== # |
| # Copyright (c) 2000-2012 YaBB (www.yabbforum.com) - All Rights Reserved. # |
| # Copyright (c) 2000-2016 YaBB (www.yabbforum.com) - All Rights Reserved. # |
| # Software by: The YaBB Development Team # |
| # Software by: The YaBB Development Team # |
| # with assistance from the YaBB community. # |
| # with assistance from the YaBB community. # |
| ############################################################################### |
| ############################################################################### |
| |
| our $VERSION = '2.6.12'; |
| |
| |
| $mediacenterplver = 'YaBB 2.5.2 $Revision: 1.3 $'; |
| $mediacenterpmver = 'YaBB 2.6.12 $Revision: 1714 $'; |
| if ($action eq 'detailedversion') { return 1; } |
| if ( $action eq 'detailedversion' ) { return 1; } |
| |
| |
| sub embed { |
| sub embed { |
| if ($guest_media_disallowed && $iamguest){ |
| if ( $guest_media_disallowed && $iamguest ) { |
| if ($enable_ubbc) { |
| if ($enable_ubbc) { |
| $video = qq~[oops]~; |
| $video = q~[oops]~; |
| } else { |
| } |
| $video = qq~$maintxt{'40'} ~; |
| else { |
| $video .= qq~$maintxt{'41'} <a href="$scripturl?action=login;sesredir=num\~$curnum">$img{'login'}</a>~; |
| $video = qq~$maintxt{'40'} ~; |
| if ($regtype) { $video .= qq~ $maintxt{'42'} <a href="$scripturl?action=register">$img{'register'}</a> !!~; } |
| $video .= |
| } |
| qq~$maintxt{'41'} <a href="$scripturl?action=login;sesredir=num\~$curnum">$img{'login'}</a>~; |
| |
| if ($regtype) { |
| } elsif ($action =~ /^RSS/) { |
| $video .= |
| $video = qq~$maintxt{'40a'} ~; |
| qq~ $maintxt{'42'} <a href="$scripturl?action=register">$img{'register'}</a> !!~; |
| $video .= qq~$maintxt{'41'} <a href="$scripturl?action=login;sesredir=num\~$curnum">$img{'login'}</a>~; |
| } |
| if ($regtype) { $video .= qq~ $maintxt{'42'} <a href="$scripturl?action=register">$img{'register'}</a> !!~; } |
| } |
| |
| |
| } else { |
| } |
| if (!$player_version) {$player_version = 6;} |
| elsif ( $action =~ /^RSS/xsm ) { |
| my ($media_url,$play_pars) = @_; |
| $video = qq~$maintxt{'40a'} ~; |
| if ($media_url !~ m/^http(s)?:\/\//){ $media_url = "media://" + $media_url; } else { $media_url =~s~http$1:~media:~g; } |
| $video .= |
| |
| qq~$maintxt{'41'} <a href="$scripturl?action=login;sesredir=num\~$curnum">$img{'login'}</a>~; |
| &ToHTML($media_url); ## convert url to html |
| if ($regtype) { |
| |
| $video .= |
| # file extensions that open windows media player for video |
| qq~ $maintxt{'42'} <a href="$scripturl?action=register">$img{'register'}</a> !!~; |
| if ($media_url =~ m/(\.wmv|\.wpl|\.asf|\.avi|\.mpg|\.mpeg|\.divx|\.xdiv)$/i) { |
| } |
| if ($player_version == 6){ |
| } |
| $video = $embed_wmv6; |
| else { |
| } elsif ($player_version == 10){ |
| if ( !$player_version ) { $player_version = 6; } |
| $video = $embed_wmv10; |
| my ( $media_url, $play_pars ) = @_; |
| } else { |
| if ( $media_url !~ m/^http(s)?:\/\//xsm ) { |
| $video = $embed_wmv6; |
| $media_url = 'media://' . $media_url; |
| } |
| } |
| $controlheight = 45; |
| else { $media_url =~ s/http$1:/media:/gxsm; } |
| |
| |
| # file extensions that open windows media player for audio |
| ToHTML($media_url); ## convert url to html |
| } elsif ($media_url =~ m/(\.wma|\.wax|\.asx|\.mp3|\.mid|\.wav|\.kar|\.rmi)$/i) { |
| |
| if ($player_version == 6){ |
| # file extensions that open windows media player for video |
| $video = $embed_wma6; |
| if ( $media_url =~ |
| } elsif ($player_version == 10){ |
| m/(\.wmv|\.wpl|\.asf|\.avi|\.mpg|\.mpeg|\.divx|\.xdiv)$/ixsm ) |
| $video = $embed_wma10; |
| { |
| } else { |
| if ( $player_version == 6 ) { |
| $video = $embed_wma6; |
| $video = $embed_wmv6; |
| } |
| } |
| |
| elsif ( $player_version == 10 ) { |
| # file extensions that open flash player |
| $video = $embed_wmv10; |
| } elsif ($media_url =~ m/(\.ra|\.ram|\.rm)$/i) { |
| } |
| $video = $embed_ra; |
| else { |
| |
| $video = $embed_wmv6; |
| } elsif ($media_url =~ m/\.swf$/i) { |
| } |
| $video = $embed_flash; |
| $controlheight = 45; |
| |
| |
| } elsif ($media_url =~ m/\.flv$/i) { |
| # file extensions that open windows media player for audio |
| $video = $embed_flv; |
| } |
| |
| elsif ( $media_url =~ |
| } elsif ($media_url =~ m/[\/\.]myvideo\./i) { |
| m/(\.wma|\.wax|\.asx|\.mp3|\.mid|\.wav|\.kar|\.rmi)$/ixsm ) |
| $media_url =~ s~/watch/~/movie/~g; |
| { |
| $video = $embed_flash; |
| if ( $player_version == 6 ) { |
| $controlheight = 46; |
| $video = $embed_wma6; |
| |
| } |
| } elsif ($media_url =~ m/[\/\.]myspace.*videoid=/i) { |
| elsif ( $player_version == 10 ) { |
| $media_url =~ /videoid=(\d+)/; |
| $video = $embed_wma10; |
| $media_url = qq~http://mediaservices.myspace.com/services/media/embed.aspx/m=$1,t=1,mt=video~; |
| } |
| $video = $embed_flash; |
| else { |
| $controlheight = 42; |
| $video = $embed_wma6; |
| |
| } |
| } elsif ($media_url =~ m/youtube\.com/i) { |
| |
| ($media_url, undef) = split /\&/g, $media_url; |
| # file extensions that open flash player |
| $media_url =~ s~watch\?v=~v\/~g; |
| } |
| $video = $embed_youtube; |
| elsif ( $media_url =~ m/(\.ra|\.ram|\.rm)$/ixsm ) { |
| $controlheight = 36; |
| $video = $embed_ra; |
| |
| |
| } elsif ($media_url =~ m/youtu\.be/i) { |
| } |
| $media_url =~ s~youtu\.be\/~www\.youtube\.com\/v\/~g; |
| elsif ( $media_url =~ m/\.swf$/ixsm ) { |
| $video = $embed_youtube; |
| $video = $embed_flash; |
| $controlheight = 36; |
| |
| |
| } |
| # added Clipfish video url support |
| elsif ( $media_url =~ m/\.flv$/ixsm ) { |
| } elsif ($media_url =~ m/clipfish\.de/i) { |
| $video = $embed_flv; |
| (undef,$temp) = split(/video\//,$media_url); |
| |
| ($videoid,undef) = split(/\//,$temp); |
| } |
| $media_url = qq~http://www.clipfish.de/cfng/flash/clipfish_player_3.swf?as=0&vid=$videoid&r=1&angebot=extern&c=990000~; |
| elsif ( $media_url =~ m/[\/\.]myvideo\./ixsm ) { |
| $video = $embed_flash; |
| $media_url =~ s/\/watch\//\/movie\//gxsm; |
| $controlheight = 36; |
| $video = $embed_flash; |
| |
| $controlheight = 46; |
| # GameTrailers.com START |
| |
| # added Gametrailers.com url support (user video with .html at the end) |
| } |
| } elsif ($media_url =~ m/gametrailers\.com/i && $media_url =~ m/user/i && $media_url =~ m/\.html/i) { |
| elsif ( $media_url =~ m/[\/\.]myspace.*videoid=/ixsm ) { |
| (undef,$temp) = split(/gametrailers.com\//,$media_url); |
| $media_url =~ /videoid=(\d+)/xsm; |
| (undef,undef,$temp) = split(/\//,$temp); |
| $media_url = |
| ($mid,undef) = split(/\./,$temp); |
| qq~http://mediaservices.myspace.com/services/media/embed.aspx/m=$1,t=1,mt=video~; |
| $media_url = qq~http://www.gametrailers.com/remote_wrap.php?umid=$mid~; |
| $video = $embed_flash; |
| $video = $embed_flash; |
| $controlheight = 42; |
| $controlheight = 36; |
| |
| |
| } |
| # added GameTrailers.com video url support (user video without .html at the end) |
| elsif ( $media_url =~ m/youtube\.com/ixsm ) { |
| } elsif ($media_url =~ m/gametrailers\.com/i && $media_url =~ m/user/i) { |
| ( undef, $media_in ) = split /\?/xsm, $media_url; |
| (undef,$temp) = split(/gametrailers.com\//,$media_url); |
| @media_in = split /\&/xsm, $media_in; |
| ($mid,undef) = split(/\./,$temp); |
| foreach my $i (@media_in) { |
| (undef,undef,$mid) = split(/\//,$temp); |
| if ( $i =~ m/v=/sm ) { |
| $media_url = qq~http://www.gametrailers.com/remote_wrap.php?umid=$mid~; |
| $i =~ s/amp;//gsm; |
| $video = $embed_flash; |
| $i =~ s/v=//gsm; |
| $controlheight = 36; |
| $media_url = qq~http://www.youtube.com/v/$i~; |
| |
| } |
| # added Gametrailers.com url support (normal video with .html at the end) |
| } |
| } elsif ($media_url =~ m/gametrailers\.com/i && $media_url =~ m/\.html/i) { |
| $video = $embed_youtube; |
| (undef,$temp) = split(/gametrailers.com\//,$media_url); |
| $controlheight = 36; |
| (undef,$temp) = split(/\//,$temp); |
| } |
| ($mid,undef) = split(/\./,$temp); |
| |
| $media_url = qq~http://www.gametrailers.com/remote_wrap.php?mid=$mid~; |
| elsif ( $media_url =~ m/youtu\.be/ixsm ) { |
| $video = $embed_flash; |
| $media_url =~ s/youtu\.be\//www\.youtube\.com\/v\//gxsm; |
| $controlheight = 36; |
| $video = $embed_youtube; |
| |
| $controlheight = 36; |
| # added GameTrailers.com video url support (normal video without .html at the end) |
| } |
| } elsif ($media_url =~ m/gametrailers\.com/i) { |
| elsif ( $media_url =~ m/facebook\.com/ixsm ) { |
| (undef,$temp) = split(/gametrailers.com\//,$media_url); |
| ( undef, $media_in ) = split /\?/xsm, $media_url; |
| ($mid,undef) = split(/\./,$temp); |
| @media_in = split /\&/gxsm, $media_in; |
| (undef,undef,$mid) = split(/\//,$temp); |
| foreach my $i (@media_in) { |
| $media_url = qq~http://www.gametrailers.com/remote_wrap.php?mid=$mid~; |
| if ( $i =~ m/v=/sm ) { |
| $video = $embed_flash; |
| $i =~ s/amp;//gsm; |
| $controlheight = 36; |
| $i =~ s/v=//gsm; |
| # GameTrailers.com END |
| $media_url = $i; |
| |
| } |
| # added Google video url support |
| } |
| } elsif ($media_url =~ m/video\.google/i) { |
| $video = $iframe_facebook; |
| (undef,$docid) = split(/=/,$media_url); |
| } |
| $media_url = qq~media://video.google.com/googleplayer.swf?docId=$docid~; |
| |
| $video = $embed_flash; |
| # added Clipfish video url support |
| $controlheight = 36; |
| elsif ( $media_url =~ m/clipfish\.de/ixsm ) { |
| |
| ( undef, $temp ) = split /video\//xsm, $media_url; |
| # added dailymotion video url support |
| ( $videoid, undef ) = split /\//xsm, $temp; |
| } elsif ($media_url =~ m/dailymotion\.com/i){ |
| $media_url = |
| $video = $embed_flash; |
| qq~http://www.clipfish.de/cfng/flash/clipfish_player_3.swf?as=0&vid=$videoid&r=1&angebot=extern&c=990000~; |
| $controlheight = 36; |
| $video = $embed_flash; |
| |
| $controlheight = 36; |
| # added vimeo video url support |
| |
| } elsif ($media_url =~ m/vimeo\.com/i) { |
| # GameTrailers.com START |
| $video = $embed_flash; |
| # added Gametrailers.com url support (user video with .html at the end) |
| $controlheight = 60; |
| } |
| |
| elsif ($media_url =~ m/gametrailers\.com/ixsm |
| # added hulu video url support |
| && $media_url =~ m/user/ixsm |
| } elsif ($media_url =~ m/hulu\.com/i) { |
| && $media_url =~ m/\.html/ixsm ) |
| $video = $embed_flash; |
| { |
| $controlheight = 0; |
| ( undef, $temp ) = split /gametrailers.com\//xsm, $media_url; |
| |
| ( undef, undef, $temp ) = split /\//xsm, $temp; |
| # file extensions that open apple QuickTime player |
| ( $mid, undef ) = split /\./xsm, $temp; |
| } elsif ($media_url =~ m/(\.qt|\.qtm|\.mov|\.mp4|\.3gp)$/i){ |
| $media_url = |
| $video = $embed_qt; |
| qq~http://www.gametrailers.com/remote_wrap.php?umid=$mid~; |
| $controlheight = 15; |
| $video = $embed_flash; |
| |
| $controlheight = 36; |
| # added thenutz videos |
| |
| } elsif ($media_url =~ m/thenutz\.tv.+?(\d+)/i){ |
| # added GameTrailers.com video url support (user video without .html at the end) |
| $media_url = $1; |
| } |
| $video = $iframe_thenutz; |
| elsif ($media_url =~ m/gametrailers\.com/ixsm |
| } |
| && $media_url =~ m/user/ixsm ) |
| |
| { |
| if ($play_pars =~ m/loop/) { |
| ( undef, $temp ) = split /gametrailers.com\//xsm, $media_url; |
| $pl_loop = "true"; |
| ( $mid, undef ) = split /\./xsm, $temp; |
| } else { |
| ( undef, undef, $mid ) = split /\//xsm, $temp; |
| $pl_loop = "false"; |
| $media_url = |
| } |
| qq~http://www.gametrailers.com/remote_wrap.php?umid=$mid~; |
| if ($play_pars =~ m/hide/ || $play_pars =~ m/hidden/) { |
| $video = $embed_flash; |
| $pl_controls = "false"; |
| $controlheight = 36; |
| $pl_controlheight = 0; |
| |
| $pl_controlwidth = 0; |
| # added Gametrailers.com url support (normal video with .html at the end) |
| } else { |
| } |
| $pl_controls = "true"; |
| elsif ($media_url =~ m/gametrailers\.com/ixsm |
| $pl_controlheight = 45; |
| && $media_url =~ m/\.html/ixsm ) |
| $pl_controlwidth = 320; |
| { |
| } |
| ( undef, $temp ) = split /gametrailers.com\//xsm, $media_url; |
| if ($play_pars =~ m/autostart/) { |
| ( undef, $temp ) = split /\//xsm, $temp; |
| $pl_start = "true"; |
| ( $mid, undef ) = split /\./xsm, $temp; |
| } else { |
| $media_url = |
| $pl_start = "false"; |
| qq~http://www.gametrailers.com/remote_wrap.php?mid=$mid~; |
| } |
| $video = $embed_flash; |
| if ($play_pars =~ m/width\=(\d{2,3})/i){ |
| $controlheight = 36; |
| $tempwidth= $1; |
| |
| if ($tempwidth >= 180 || $tempwidth <= 800){ |
| # added GameTrailers.com video url support (normal video without .html at the end) |
| $pl_width = int($tempwidth); |
| } |
| $pl_height = int(($pl_width*3)/4) + $controlheight; |
| elsif ( $media_url =~ m/gametrailers\.com/ixsm ) { |
| } else { |
| ( undef, $temp ) = split /gametrailers.com\//xsm, $media_url; |
| $pl_width = 320; |
| ( $mid, undef ) = split /\./xsm, $temp; |
| $pl_height = 240 + $controlheight; |
| ( undef, undef, $mid ) = split /\//xsm, $temp; |
| } |
| $media_url = |
| } else { |
| qq~http://www.gametrailers.com/remote_wrap.php?mid=$mid~; |
| $pl_width = 320; |
| $video = $embed_flash; |
| $pl_height = 240 + $controlheight; |
| $controlheight = 36; |
| } |
| |
| |
| # GameTrailers.com END |
| $video =~ s~[\t\r\n]~~g; |
| } |
| $video =~ s~_width_~$pl_width~ig; |
| |
| $video =~ s~_controls_~$pl_controls~ig; |
| # added Google video url support |
| $video =~ s~_height_~$pl_height~ig; |
| elsif ( $media_url =~ m/video\.google/ixsm ) { |
| $video =~ s~_controlheight_~$pl_controlheight~ig; |
| ( undef, $docid ) = split /=/xsm, $media_url; |
| $video =~ s~_controlwidth_~$pl_controlwidth~ig; |
| $media_url = |
| $video =~ s~_media_~$media_url~ig; |
| qq~media://video.google.com/googleplayer.swf?docId=$docid~; |
| $video =~ s~_loop_~$pl_loop~ig; |
| $video = $embed_flash; |
| $video =~ s~_autostart_~$pl_start~ig; |
| $controlheight = 36; |
| $video =~ s~_autostart_~$pl_start~ig; |
| |
| } |
| } |
| $video; |
| |
| |
| # added dailymotion video url support |
| |
| elsif ( $media_url =~ m/dailymotion\.com/ixsm ) { |
| |
| $video = $iframe_dailymotion; |
| |
| } |
| |
| |
| |
| # added vimeo video url support |
| |
| elsif ( $media_url =~ m/vimeo\.com/ixsm ) { |
| |
| $video = $iframe_vimeo; |
| |
| } |
| |
| |
| |
| # added hulu video url support |
| |
| elsif ( $media_url =~ m/hulu\.com/ixsm ) { |
| |
| $video = $embed_flash; |
| |
| $controlheight = 0; |
| |
| |
| |
| # file extensions that open apple QuickTime player |
| |
| } |
| |
| elsif ( $media_url =~ m/(\.qt|\.qtm|\.mov|\.mp4|\.3gp)$/ixsm ) { |
| |
| $video = $embed_qt; |
| |
| $controlheight = 15; |
| |
| } |
| |
| |
| |
| # added thenutz videos |
| |
| elsif ( $media_url =~ m/thenutz\.tv.+?(\d+)/ixsm ) { |
| |
| $media_url = $1; |
| |
| $video = $iframe_thenutz; |
| |
| } |
| |
| |
| |
| if ( $play_pars =~ m/loop/sm ) { |
| |
| $pl_loop = 'true'; |
| |
| } |
| |
| else { |
| |
| $pl_loop = 'false'; |
| |
| } |
| |
| if ( $play_pars =~ m/hide/sm || $play_pars =~ m/hidden/sm ) { |
| |
| $pl_controls = 'false'; |
| |
| $pl_controlheight = 0; |
| |
| $pl_controlwidth = 0; |
| |
| } |
| |
| else { |
| |
| $pl_controls = 'true'; |
| |
| $pl_controlheight = 45; |
| |
| $pl_controlwidth = 320; |
| |
| } |
| |
| if ( $play_pars =~ m/autostart/sm ) { |
| |
| $pl_start = 'true'; |
| |
| } |
| |
| else { |
| |
| $pl_start = 'false'; |
| |
| } |
| |
| if ( $play_pars =~ m/width\=(\d{2,3})/ixsm ) { |
| |
| $tempwidth = $1; |
| |
| if ( $tempwidth >= 180 || $tempwidth <= 800 ) { |
| |
| $pl_width = int $tempwidth; |
| |
| $pl_height = int( ( $pl_width * 3 ) / 4 ) + $controlheight; |
| |
| } |
| |
| else { |
| |
| $pl_width = 320; |
| |
| $pl_height = 240 + $controlheight; |
| |
| } |
| |
| } |
| |
| else { |
| |
| $pl_width = 320; |
| |
| $pl_height = 240 + $controlheight; |
| |
| } |
| |
| |
| |
| $video =~ s/[\t\r\n]//gxsm; |
| |
| $video =~ s/_width_/$pl_width/igxsm; |
| |
| $video =~ s/_controls_/$pl_controls/igxsm; |
| |
| $video =~ s/_height_/$pl_height/igxsm; |
| |
| $video =~ s/_controlheight_/$pl_controlheight/igxsm; |
| |
| $video =~ s/_controlwidth_/$pl_controlwidth/igxsm; |
| |
| $video =~ s/_media_/$media_url/igxsm; |
| |
| $video =~ s/_loop_/$pl_loop/igxsm; |
| |
| $video =~ s/_autostart_/$pl_start/igxsm; |
| |
| } |
| |
| return $video; |
| } |
| } |
| |
| |
| sub flashconvert{ |
| sub flashconvert { |
| my ($fl_url,$fl_size) = @_; |
| my ( $fl_url, $fl_size ) = @_; |
| $fl_size =~ s/ //g; |
| $fl_size =~ s/ //gsm; |
| my ($fl_width, undef) = split (/\,/ , $fl_size); |
| my ( $fl_width, undef ) = split /\,/xsm, $fl_size; |
| "\[media width\=$fl_width\]$fl_url\[/media\]"; |
| return "\[media width\=$fl_width\]$fl_url\[/media\]"; |
| } |
| } |
| |
| |
| ## Windows Media Player 6.4 Video |
| ## Windows Media Player 6.4 Video |
| $embed_wmv6 = qq~ |
| $embed_wmv6 = q~ |
| <object id='mediaPlayer' width="_width_" height="_height_" 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 6.4 components...' type='application/x-oleobject'> |
| <object id='mediaPlayer' width="_width_" height="_height_" 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 6.4 components...' type='application/x-oleobject'> |
| <param name='fileName' value="_media_" /> |
| <param name='fileName' value="_media_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='loop' value="_loop_" /> |
| <param name='loop' value="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="_width_" height="_height_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="_width_" height="_height_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| </object>~; |
| </object>~; |
| |
| |
| ## Windows Media Player 6.4 Audio |
| ## Windows Media Player 6.4 Audio |
| $embed_wma6 = qq~ |
| $embed_wma6 = q~ |
| <object id='mediaPlayer' width="_controlwidth_" height="_controlheight_" 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 6.4 components...' type='application/x-oleobject'> |
| <object id='mediaPlayer' width="_controlwidth_" height="_controlheight_" 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 6.4 components...' type='application/x-oleobject'> |
| <param name='fileName' value="_media_" /> |
| <param name='fileName' value="_media_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='loop' value="_loop_" /> |
| <param name='loop' value="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="_controlheight_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="_controlheight_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| </object>~; |
| </object>~; |
| |
| |
| ## Windows Media Player 7,9 or 10 Video |
| ## Windows Media Player 7,9 or 10 Video |
| $embed_wmv10 = qq~ |
| $embed_wmv10 = q~ |
| <object id='mediaPlayer' width="_width_" height="_height_" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112' standby='Loading Microsoft Windows Media Player 7, 9 or 10 components...' type='application/x-oleobject'> |
| <object id='mediaPlayer' width="_width_" height="_height_" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112' standby='Loading Microsoft Windows Media Player 7, 9 or 10 components...' type='application/x-oleobject'> |
| <param name='fileName' value="_media_" /> |
| <param name='fileName' value="_media_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='loop' value="_loop_" /> |
| <param name='loop' value="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="_width_" height="_height_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="_width_" height="_height_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| </object>~; |
| </object>~; |
| |
| |
| ## Windows Media Player 7,9 or 10 Audio |
| ## Windows Media Player 7,9 or 10 Audio |
| $embed_wma10 = qq~ |
| $embed_wma10 = q~ |
| <object id='mediaPlayer' width="_controlwidth_" height="_controlheight_" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' 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'> |
| <object id='mediaPlayer' width="_controlwidth_" height="_controlheight_" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' 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'> |
| <param name='fileName' value="_media_" /> |
| <param name='fileName' value="_media_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='autoStart' value="_autostart_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='showControls' value="_controls_" /> |
| <param name='loop' value="_loop_" /> |
| <param name='loop' value="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="_controlheight_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' TransparantAtStart='true' bgcolor='darkblue' showcontrols="_controls_" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="_controlheight_" src="_media_" autostart="_autostart_" designtimesp='5311' loop="_loop_" /> |
| </object>~; |
| </object>~; |
| |
| |
| $embed_ra = qq~ |
| $embed_ra = q~ |
| <object id='rvocx' classid='CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width="320" height="_height_"> |
| <object id='rvocx' width="320" height="_height_"> |
| <param name='src' value="_media_" /> |
| <param name="classid" value="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" /> |
| <param name='autostart' value="_autostart_" /> |
| <param name='src' value="_media_" /> |
| <param name='controls' value='imagewindow' /> |
| <param name='autostart' value="_autostart_" /> |
| <param name='console' value='video' /> |
| <param name="controls" value="imagewindow" /> |
| <param name='loop' value="_loop_" /> |
| <param name="console" value="video" /> |
| <embed src="_media_" width="_width_" height="_height_" loop="true" type='audio/x-pn-realaudio-plugin' controls='imagewindow' console='video' autostart="_autostart_" /> |
| <param name="loop" value="_loop_" /> |
| </object> |
| <embed src="_media_" width="_width_" height="_height_" loop="true" type="audio/x-pn-realaudio-plugin" controls="imagewindow" console="video" autostart="_autostart_" /> |
| <br /> |
| </object> |
| <object id='rvocx' classid='CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width="320" height='30'> |
| |
| <param name='src' value="_media_" /> |
| |
| <param name='autostart' value="_autostart_" /> |
| |
| <param name='controls' value='ControlPanel' /> |
| |
| <param name='console' value='video' /> |
| |
| <embed src="_media_" width="_width_" height='30' controls='ControlPanel' type='audio/x-pn-realaudio-plugin' console='video' autostart="_autostart_" /> |
| |
| </object>~; |
| |
| |
| |
| $embed_qt = qq~ |
| |
| <object classid='CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="_width_" height="_height_" codebase='http://www.apple.com/qtactivex/qtplugin.cab'> |
| |
| <param name='src' value="_media_" /> |
| |
| <param name='autoplay' value="_autostart_" /> |
| |
| <param name='controller' value="_controls_" /> |
| |
| <param name='loop' value="_loop_" /> |
| |
| <param name="type" value="video/quicktime"> |
| |
| <embed src="_media_" width="_width_" height="_height_" autoplay="_autostart_" controller="true" loop="_loop_" type="video/quicktime" pluginspage='http://www.apple.com/quicktime/download/' /> |
| |
| </object> |
| |
| ~; |
| ~; |
| |
| |
| $embed_flash = qq~ |
| $embed_qt = q~ |
| <object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="_width_" height="_height_" codebase="http://active.macromedia.com/flash7/cabs/swflash.cab#version=9,0,0,0"> |
| <object width="_width_" height="_height_"> |
| <param name="movie" value="_media_" /> |
| <param name="codebase" value="http://www.apple.com/qtactivex/qtplugin.cab" /> |
| <param name="loop" value="_loop_" /> |
| <param name="classid" value="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" /> |
| <param name="quality" value="high" /> |
| <param name='src' value="_media_" /> |
| <param name='bgcolor' value="#FFFFFF" /> |
| <param name='autoplay' value="_autostart_" /> |
| <embed src="_media_" width="_width_" height="_height_" loop="_loop_" bgcolor="#FFFFFF" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" /> |
| <param name='controller' value="_controls_" /> |
| </object> |
| <param name='loop' value="_loop_" /> |
| |
| <param name="type" value="video/quicktime"> |
| |
| <embed src="_media_" width="_width_" height="_height_" autoplay="_autostart_" controller="true" loop="_loop_" type="video/quicktime" pluginspage='http://www.apple.com/quicktime/download/' /> |
| |
| </object> |
| ~; |
| ~; |
| |
| |
| $embed_youtube = qq~ |
| $embed_flash = q~ |
| |
| <object width="_width_" height="_height_" type="video/flash"> |
| |
| <param name="codebase" value="http://active.macromedia.com/flash7/cabs/swflash.cab#version=9,0,0,0" /> |
| |
| <param name="classid" value="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" /> |
| |
| <param name="movie" value="_media_" /> |
| |
| <param name="loop" value="_loop_" /> |
| |
| <param name="quality" value="high" /> |
| |
| <param name="background-color" value="#FFFFFF" /> |
| |
| <embed src="_media_" width="_width_" height="_height_" loop="_loop_" bgcolor="#FFFFFF" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" /> |
| |
| </object> |
| |
| ~; |
| |
| |
| |
| $embed_youtube = q~ |
| <object width="_width_" height="_height_"> |
| <object width="_width_" height="_height_"> |
| <param name="movie" value="_media_&hl=en_US&feature=player_embedded&version=3" /> |
| <param name="movie" value="_media_&hl=en_US&feature=player_embedded&version=3" /> |
| <param name="allowFullScreen" value="true" /> |
| <param name="allowFullScreen" value="true" /> |
| <param name="allowScriptAccess" value="always" /> |
| <param name="allowScriptAccess" value="always" /> |
| <embed src="_media_&hl=en_US&feature=player_embedded&version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="_width_" height="_height_" /> |
| <embed src="_media_&hl=en_US&feature=player_embedded&version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="_width_" height="_height_" /> |
| </object>~; |
| </object>~; |
| |
| |
| |
| $iframe_facebook = q~ |
| |
| <iframe src="https://www.facebook.com/video/embed?video_id=_media_" class="media_iframe" scrolling="no"></iframe> |
| |
| ~; |
| |
| |
| |
| $iframe_vimeo = q~ |
| |
| <iframe src="_media_" class="media_iframe" scrolling="no"></iframe> |
| |
| ~; |
| |
| |
| |
| $iframe_dailymotion = q~ |
| |
| <iframe src="_media_" class="media_iframe" scrolling="no"></iframe> |
| |
| ~; |
| |
| |
| $embed_flv = qq~ |
| $embed_flv = qq~ |
| <embed src="$yyhtml_root/mediaplayer.swf" allowfullscreen="true" allowscriptaccess="always" width="_width_" height="_height_" flashvars="&file=_media_&height=_height_&width=_width_&autostart=_autostart_" />~; |
| <embed src="$yyhtml_root/mediaplayer.swf" allowfullscreen="true" allowscriptaccess="always" width="_width_" height="_height_" flashvars="&file=_media_&height=_height_&width=_width_&autostart=_autostart_" />~; |
| |
| |
| $iframe_thenutz = q~ |
| $iframe_thenutz = q~ |
| <script type="text/javascript">var host=document.location;document.write("<iframe src=\"http://www.thenutz.tv/embed.php?video_id=_media_&host=" + host + "\" frameborder=\"0\" height=\"326\" width=\"400\" scrolling=\"No\"></iframe>");</script> |
| <script type="text/javascript">var host=document.location;document.write("<iframe src='http://www.thenutz.tv/embed.php?video_id=_media_&host=" + host + "' frameborder='0' height='326' width='400' scrolling='No'></iframe>");</script> |
| ~; |
| ~; |
| |
| |
| 1; |
| 1; |
| |
| |