Subversion Repositories php-qbpwcf

Rev

Blame | Last modification | View Log | RSS feed

<?php

#指派命名空間為 qbpwcf
namespace qbpwcf{
        
        #匯入外部套件
        include("../allInOne.php");
        
        #涵式說明:
        #放置html5支援的webm格式影片(webm),結果會回傳放置的語法。
        #必填的參數:
        $conf["videoFilePosition"]="big-buck-bunny_trailer.webm";#爲影片的路徑,需要有附檔名
        #$conf["fileArgu"],字串,php變數__FILE__的內容,亦即該檔案在檔案系統的絕對路徑.
        $conf["fileArgu"]=__FILE__;
        #可省略的參數:
        #$conf["width"]="";#爲影片的寬度,預設爲影片的原始寬度
        #$conf["height"]="";#爲影片的高度,預設爲影片的原始高度
        #$conf["height"]="";#爲影片的高度,預設爲影片的原始高度
        #$conf["codecs"]="";#爲解碼器名稱,預設爲 "vp8, vorbis"
        $html5=video::html5($conf);
        unset($conf);
        
        echo $html5["content"];
        
        }#namespace qbpwcf end

?>