Plugin Directory

Changeset 370463


Ignore:
Timestamp:
04/08/2011 04:22:04 AM (15 years ago)
Author:
flomincucci
Message:

Added getVideo() function - was missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conslider/trunk/conslider.php

    r369838 r370463  
    7070}
    7171
     72function getVideo($id){
     73    $video='
     74        <object width="522" height="292">
     75        <param name="movie" value="http://www.youtube.com/v/'.$id.'&hl=en_US&fs=1&rel=0"></param>
     76        <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
     77        <embed src="http://www.youtube.com/v/'.$id.'&hl=en_US&fs=1&rel=0"
     78        wmode="opaque" type="application/x-shockwave-flash"
     79        allowscriptaccess="always"
     80        allowfullscreen="true" 
     81        width="522"
     82        height="292"></embed></object>
     83    ';
     84    return $video;
     85}
     86
    7287
    7388function getmyurl( $str="" ) {
Note: See TracChangeset for help on using the changeset viewer.