2012-10-04

SCRIPT - 免錢又好用的 jwplayer


官網 : http://www.longtailvideo.com/players/jw-flv-player/
skin download : http://www.longtailvideo.com/addons/skins
config option: http://www.longtailvideo.com/support/jw-player/.../configuration-options

php
public function playerAction() {
    $this->view->headScript()
        ->appendFile('jwplayer.js')
    ;
    $this->view->swf = 'player.swf';
    $this->view->sd = $sd; # sd video (h.264 mp4)
    $this->view->hd = $hd; # hd video (h.264 mp4)
    $this->view->thumb = $thumb; # assign thumbnail
    $this->view->embed = $embed; # video embed code
    $this->view->skin = $skin; # jwplayer skin
}

html

JWPlayer

Loading the player ...

cf : http://j-coriolanus.blog.163.com/blog/static/64211038200992011745532/


沒有留言:

張貼留言