• Добро пожаловать в сообщество My.Net.Ru

    Мы очень рады, что Вы посетили наш форум WAP|WEB мастеров! Мы сможем помочь Вам с решением ваших вопросов. Пожалуйста, пройдите регистрацию, она занимает не более одной минуты и у вас появится возможность:
      Просматривать документации и техническую информацию
      Скачивать шаблоны и скрипты
      Задавать вопросы и получать на них ответы
      Предоставлять услуги или искать исполнителя
      Отключить назойливую рекламу
  • Что бы скачивать ресурсы с нашего форума, необходимо перейтив в группу ,"ТОПОВЫЙ".

Аудио-видео плеер jPlayer и адаптивный шаблон для него | Responsive skin for jPlayer

anonymous

Создатель
Команда форума
администратор
Сообщения
1 689
Реакции
369
Баллы
103
jplay.png
Проигрыватель jPlayer позволяет производить аудио и видео файлы в различных форматах и в различных браузерах. Работает данный плеер на библиотеке jQuery или Zepto
В этой заметке представлена адаптивная тема оформления этого плеера, с использованием Font Awesome
Немного о самом плеере:
Поддерживаемые платформы и браузеры:
  • Windows: Chrome, Firefox, Internet Explorer, Safari, Opera
  • OSX: Safari, Firefox, Chrome, Opera
  • iOS: Mobile Safari: iPad, iPhone, iPod Touch
  • Android: Android 2.3 Browser
  • Blackberry: OS 7 Phone Browser, PlayBook Browser
Поддерживаемые форматы:
  • HTML5: mp3, mp4 (AAC/H.264), ogg (Vorbis/Theora), webm (Vorbis/VP8), wav
  • Flash: mp3, mp4 (AAC/H.264), rtmp, flv
Более подробно ознакомится с плеером, а также скачать его, можно на сайте автора: www.jplayer.org
Теперь о шаблоне:
Оригинальные шаблоны для плеера сделаны на основе графического скина, однако данный способ для меня крайне неудобен, поэтому и использовал шрифт вместо графики.
Во всех примерах, блок для плеера подразумевает большую ширину (более 700 точек) и шаблон изменяется в зависисмости от разрешения экрана. Если же изначально требуется разместить плеер в блоке меньшего размера, то нужно добавить:

Для блока размером 450-700 точек:
HTML:
<div class="b700">Код плеера</div>
Для блока размером менее 450 точек:
HTML:
<div class="b450">Код плеера</div>
Подключение плеера и шаблона:
1.
Подключаем шрифт Font Awesome, библиотеку jQuery, скрипт плеера jPlayer и, при необходимости использования плейлистов, скрипт jPlayer Playlist:
HTML:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.12.4.min.js"></script>   
<script type="text/javascript" src="http://www.jplayer.org/latest/dist/jplayer/jquery.jplayer.min.js"></script>
<script type="text/javascript" src="http://www.jplayer.org/latest/dist/add-on/jplayer.playlist.min.js"></script>
Скачать: jplayer.min.js
Скачать: jplayer.playlist.min.js
Скачать: архив с плагином
 

anonymous

Создатель
Команда форума
администратор
Сообщения
1 689
Реакции
369
Баллы
103
Подключаем стиль для плеера:
CSS:
.clear {
    clear:both;   
}
.jp-row {
    display:table-row;   
}
.jp-jplayer audio,
.jp-jplayer {
    width: 0px;
    height: 0px;
}
.jp-audio *:focus,
.jp-audio-stream *:focus,
.jp-video *:focus {
    outline: none;
}
.jp-audio button::-moz-focus-inner,
.jp-audio-stream button::-moz-focus-inner,
.jp-video button::-moz-focus-inner {
    border: 0;
}
.jp-playlist *, .jp-details * {
    font-size:13px;
}
.jp-interface {
    border: 1px solid #D5EEFF;   
    position: relative;
    background: #F2FAFF;
    width: 100%;
    display:table;
}
.jp-interface * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;   
}
/*//////////////////*/
/* Volume */
/*//////////////////*/
.jp-volume-controls {
    width: 130px;
    padding:10px;
    display:table-cell;
}
.jp-volume-bar {
    float:left;   
    background: #C9DFF1;
    width: 60px;
    height: 24px;
    cursor: pointer;
}
.jp-volume-bar-value {
    background: #77AEDB;
    width: 0px;
    height: 24px; 
}
/*//////////////////*/
/* Control */
/*//////////////////*/
.jp-controls {
    padding:6px;
    display:table-cell;
    width:88px;
    vertical-align:top;
}
/*//////////////////*/
/* Progress */
/*//////////////////*/
.jp-progress {
    display:table-cell;
    vertical-align:top;
    padding:10px;
}
.jp-seek-bar {
    background: #C9DFF1;
    width: 0px;
    height:8px;
    cursor: pointer;
}
.jp-play-bar {
    background: #77AEDB;
    width: 0px;
    height:8px;;
}
/*//////////////////*/
/* Toggles*/
/*//////////////////*/
.jp-toggles {
    display:table-cell;
    vertical-align:top;
    padding:10px;
    width:28px;
}
/*//////////////////*/
/* Detals*/
/*//////////////////*/
.jp-details {
    text-align: center;
    cursor: default;
    font-size:13px;
    padding:8px 0;
    font-family: Verdana;
}
/*//////////////////*/
/* Playlists*/
/*//////////////////*/
.jp-playlist ul {
    list-style-type: none;
    margin:10px 0 0 0;
    padding:0;
    display:block;
    counter-reset: li;
    position:relative;
}
.jp-playlist ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    font-size:13px;
    font-family: Verdana;
}
.jp-playlist ul li:before {
    position: relative;
    left:-10px;
    width:20px;
    font-size: 10px;
    font-weight: bold;
    color: #A7A7A7;
    counter-increment: li;
    content: counter(li);   
    text-align:right;
    display:inline-block;
}
.jp-playlist li:last-child {
    border-bottom: none;
}
.jp-playlist li div {
    display: inline;
}
.jp-playlist a, .jp-playlist span.jp-free-media a {
    color: #333;
    text-decoration: none;
}
.jp-playlist a:hover, .jp-playlist a.jp-playlist-current, .jp-playlist a.jp-playlist-item-remove:hover, .jp-playlist span.jp-free-media a:hover  {
    color: #0d88c1;
}
.jp-playlist a.jp-playlist-item-remove {
    float: right;
    display: inline;
    text-align: right;
    margin-right: 10px;
    font-weight: bold;
    color: #666;
}
.jp-playlist span.jp-free-media {
    float: right;
    display: inline;
    text-align: right;
    margin-right: 10px;
}
.jp-artist {
    font-size: 11px;
    color: #666;
}
/*//////////////////*/
/* Time */
/*//////////////////*/
.jp-current-time,
.jp-duration {
    width: 50px;
    font-size: 11px;
    font-family: Verdana;
}
.jp-current-time {
    float: left;
}
.jp-duration {
    float: right;
    text-align: right;
    cursor: pointer;
}
/*//////////////////*/
/* Buttons */
/*//////////////////*/
.jp-controls button, .jp-volume-controls button, .jp-toggles button {
    display: block;
    float: left;
    overflow: hidden;
    cursor: pointer;
    background: #77AEDB;
    color: #FFF;
    margin: 4px;
    width:30px;
    height:30px;
    font-size:13px; 
    border: 0;
}
.jp-volume-controls button, .jp-toggles button {
    width:24px;
    height:24px;
    margin: 0 0 8px 0;
}   
.jp-controls button:hover, .jp-volume-controls button:hover, .jp-toggles button:hover {
    background: #337ab7;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -ms-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;   
}     
.jp-state-playing .jp-play i {
    display:none;
}
.jp-state-playing .jp-play:before {
    font-family: FontAwesome;
    content: "\f04c";
}
.jp-state-looped .jp-repeat, .jp-state-shuffled .jp-shuffle, .jp-shuffle:active, .jp-state-full-screen .jp-full-screen, .jp-full-screen:active  {
    background: #337ab7;   
}
.jp-stop, .jp-previous, .jp-next {
    width: 28px;
    height: 28px;
margin-top: 6px; }
 
.jp-stop {
    margin-left: 10px;
}
/*//////////////////*/
/* Video */
/*//////////////////*/
.jp-video .jp-volume-controls {
    right:80px;
}
.jp-video .jp-toggles {
    width:76px;   
}
.jp-video .jp-toggles .jp-full-screen, .jp-video .jp-toggles .jp-shuffle{
    margin-left:8px;
}
.jp-video .jp-type-playlist .jp-toggles  {
    width:120px;   
    float:left;
    padding:0;
}       
/*//////////////////*/
/* Video full */
/*//////////////////*/   
.jp-video-full div div {
    z-index: 1000;
}
.jp-video-full .jp-jplayer {
    top: 0;
    left: 0;
    position: fixed;
    overflow: hidden;
}
.jp-video-full .jp-gui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}
.jp-video-full .jp-interface {
    position: absolute;
    bottom: 0;
    left: 0;
}
.jp-video-full .jp-video-play {
    height: 100%;
}
.jp-video-play {
    position: relative;
}
/*//////////////////*/
/* Video icon */
/*//////////////////*/       
.jp-video-play-icon {
    position: absolute;
    display: block;
    top: 20px;
    width:100%;
    font-size:80px;
    font-weight:bold;
    font-family:Tahoma;
    border: none;
    cursor: pointer;
    color:#77AEDB;
    background: transparent;
}
.jp-video-play-icon:hover {
    color:#337ab7;
}
/*//////////////////*/
/* no-solution */
/*//////////////////*/   
.jp-no-solution {
    padding: 5px;
    font-size: .8em;
    background-color: #eee;
    border: 2px solid #009be3;
    color: #000;
    display: none;
}
.jp-no-solution a {
    color: #000;
}
.jp-no-solution span {
    font-size: 1em;
    display: block;
    text-align: center;
    font-weight: bold;
}
/*//////////////////*/
/* Block 700px */
/*//////////////////*/
.b700 .jp-progress, .b700 .jp-controls, .b700 .jp-volume-controls, .b700 .jp-toggles,
.b450 .jp-progress, .b450 .jp-controls, .b450 .jp-volume-controls, .b450 .jp-toggles
{
    display:block;   
    float:left;
    width:100%;
    padding:4px;
}
.b700 .jp-volume-controls, .b450 .jp-volume-controls  {
    float:right;   
    position:absolute;
    top:6px;
    right:48px;
    width:120px;
}
.b700 .jp-toggles, .b450 .jp-toggles  {
    float:right;   
    position:absolute;
    top:6px;
    right:0;
    width:38px;   
}   
.b700 .jp-details, .b450 .jp-details {
    padding-top:18px;
}
.b700 .jp-type-playlist .jp-volume-controls, .b450 .jp-type-playlist .jp-volume-controls {
    right:80px;
}
.b700 .jp-type-playlist .jp-toggles, .b700 .jp-video .jp-toggles, .b450 .jp-type-playlist .jp-toggles, .b450 .jp-video .jp-toggles {
    width:70px;   
}
.b700 .jp-type-playlist .jp-toggles .jp-shuffle, .b450 .jp-type-playlist .jp-toggles .jp-shuffle{
    margin-left:8px;
}
.b700 .jp-video .jp-type-playlist .jp-toggles, .b450 .jp-video .jp-type-playlist .jp-toggles   {   
    right:0;
    top:4px;
    float:right;
    width:104px;
}   
.b700 .jp-video .jp-type-playlist .jp-volume-controls, .b450 .jp-video .jp-type-playlist .jp-volume-controls   {
    top:42px;
    left:5px;
    width:100%;
}   
.b700 .jp-video .jp-type-playlist .jp-progress, .b450 .jp-video .jp-type-playlist .jp-progress{
    margin-top:32px;
}
.b700 .jp-video .jp-volume-controls, .b450 .jp-video .jp-volume-controls {
    right:80px;
}
.b700 .jp-video-play-icon, .b450 .jp-video-play-icon {
    font-size:50px;
}
/*//////////////////*/
/* Block 450px */
/*//////////////////*/
.b450 .jp-type-playlist .jp-volume-controls, .b450 .jp-video .jp-volume-controls {
    top:42px;
    left:5px;
    
}
.b450 .jp-type-playlist .jp-toggles, .b450 .jp-video .jp-toggles {
    right:0;
    top:42px;
}
.b450 .jp-type-playlist .jp-progress, .b450 .jp-video .jp-progress{
    margin-top:32px;
    
}
/*//////////////////*/
/* Responsive */
/*//////////////////*/
@media screen and (max-width: 700px) {
    .jp-progress, .jp-controls, .jp-volume-controls, .jp-toggles  {
        display:block;   
        float:left;
        width:100%;
        padding:4px;
    }
    .jp-volume-controls  {
        float:right;   
        position:absolute;
        top:6px;
        right:48px;
        width:120px;
    }
    .jp-toggles  {
        float:right;   
        position:absolute;
        top:6px;
        right:0;
        width:38px;   
    }   
    .jp-details {
        padding-top:18px;
    }
    .jp-type-playlist .jp-volume-controls {
        right:80px;
    }
    .jp-type-playlist .jp-toggles, .jp-video .jp-toggles {
        width:70px;   
    }
    .jp-type-playlist .jp-toggles .jp-shuffle{
        margin-left:8px;
    }
    .jp-video .jp-type-playlist .jp-toggles  {   
        right:0;
        top:4px;
        float:right;
        width:104px;
    }   
    .jp-video .jp-type-playlist .jp-volume-controls  {
        top:42px;
        left:5px;
        width:100%;
    }   
    .jp-video .jp-type-playlist .jp-progress{
        margin-top:32px;
    }
    .jp-video-play-icon {
        font-size:50px;
    }
    @media screen and (max-width: 450px) {
        .jp-type-playlist .jp-volume-controls, .jp-video .jp-volume-controls {
            top:42px;
            left:5px;
            
        }
        .jp-type-playlist .jp-toggles, .jp-video .jp-toggles {
            right:0;
            top:42px;
        }
        .jp-type-playlist .jp-progress, .jp-video .jp-progress{
            margin-top:32px;
        }
    }
 

anonymous

Создатель
Команда форума
администратор
Сообщения
1 689
Реакции
369
Баллы
103
3. В зависимости от желаемого результата, добавляем JS и HTML коды:
HTML:
<script type="text/javascript">
    //<![CDATA[
    $(document).ready(function(){
        $("#jquery_jplayer_1").jPlayer({
            ready: function (event) {
                $(this).jPlayer("setMedia", {
                    title: "Name",
                    m4a: "/video/file.m4a",
                    oga: "/video/file.ogg"
                });
            },
            cssSelectorAncestor: "#jp_container_1",
            supplied: "m4a, oga",
            wmode: "window",
            useStateClassSkin: true,
            autoBlur: false,
            smoothPlayBar: true,
            keyEnabled: true,
            remainingDuration: true,
            toggleDuration: true
        });
    });
    //]]>
</script>
<div id="jquery_jplayer_1" class="jp-jplayer"></div>
<div id="jp_container_1" class="jp-audio" role="application" aria-label="media player">
    <div class="jp-type-single">
        <div class="jp-gui jp-interface">
            <div class="jp-row">
                <div class="jp-controls">
                    <button class="jp-play" role="button" tabindex="0"><i class="fa fa-play"></i></button>
                    <button class="jp-stop" role="button" tabindex="0"><i class="fa fa-stop"></i></button>
                </div>
                <div class="jp-progress">
                    <div class="jp-seek-bar">
                        <div class="jp-play-bar"></div>
                    </div>
                    <div class="jp-time-holder">
                        <div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
                        <div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
                    </div>                   
                    <div class="jp-details">
                        <div class="jp-title" aria-label="title">&nbsp;</div>
                    </div>               
                </div>   
                <div class="jp-volume-controls">
                    <button class="jp-mute" role="button" tabindex="0"><i class="fa fa-volume-down"></i></button>
                    <div class="jp-volume-bar">
                        <div class="jp-volume-bar-value"></div>
                    </div>               
                    <button class="jp-volume-max" role="button" tabindex="0"><i class="fa fa-volume-up"></i></button>
                </div>
                <div class="jp-toggles">
                    <button class="jp-repeat" role="button" tabindex="0"><i class="fa fa-repeat"></i></button>
                </div>                               
            </div>
        </div>
        <div class="jp-no-solution">
            Flash error
        </div>
    </div>
</div>

HTML:
<script type="text/javascript">
    //<![CDATA[
    $(document).ready(function(){
        new jPlayerPlaylist({
            jPlayer: "#jquery_jplayer_2",
            cssSelectorAncestor: "#jp_container_2"
        }, [
        {
            title:"Name",
            mp3:"/music/file.mp3",
            oga:"/music/file.ogg"
        },
        {
            title:"Name",
            mp3:"/music/file.mp3",
            oga:"/music/file.ogg"
        },
        {
            title:"Name",
            free:true,
            mp3:"/music/file.mp3",
            oga:"/music/file.ogg"
        }
        ], {
            supplied: "oga, mp3",
            wmode: "window",
            useStateClassSkin: true,
            autoBlur: false,
            smoothPlayBar: true,
            keyEnabled: true
            
        });   
    });
    //]]>
</script>
<div id="jquery_jplayer_2" class="jp-jplayer"></div>
<div id="jp_container_2" class="jp-audio" role="application" aria-label="media player">
    <div class="jp-type-playlist">
        <div class="jp-gui jp-interface">
            <div class="jp-row">       
                <div class="jp-controls">
                    <button class="jp-play" role="button" tabindex="0"><i class="fa fa-play"></i></button>
                    <button class="jp-stop" role="button" tabindex="0"><i class="fa fa-stop"></i></button>
                    <button class="jp-previous" role="button" tabindex="0"><i class="fa fa-backward"></i></button>
                    <button class="jp-next" role="button" tabindex="0"><i class="fa fa-forward"></i></button>
                </div>
                <div class="jp-progress">
                    <div class="jp-seek-bar">
                        <div class="jp-play-bar"></div>
                    </div>
                    <div class="jp-time-holder">
                        <div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
                        <div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
                    </div>
                    <div class="clear"></div>
                    <div class="jp-playlist">
                        <ul>
                            <li>&nbsp;</li>
                        </ul>
                    </div>               
                </div>       
                <div class="jp-volume-controls">
                    <button class="jp-mute" role="button" tabindex="0"><i class="fa fa-volume-down"></i></button>
                    <div class="jp-volume-bar">
                        <div class="jp-volume-bar-value"></div>
                    </div>
                    <button class="jp-volume-max" role="button" tabindex="0"><i class="fa fa-volume-up"></i></button>               
                </div>
                <div class="jp-toggles">
                    <button class="jp-repeat" role="button" tabindex="0"><i class="fa fa-repeat"></i></button>
                    <button class="jp-shuffle" role="button" tabindex="0"><i class="fa fa-random"></i></button>
                </div>   
            </div>   
        </div>           
        <div class="jp-no-solution">
            Flash error
        </div>
    </div>
</div>
 

anonymous

Создатель
Команда форума
администратор
Сообщения
1 689
Реакции
369
Баллы
103
HTML:
<script type="text/javascript">
    //<![CDATA[
    $(document).ready(function(){
        $("#jquery_jplayer_3").jPlayer({
            ready: function () {
                $(this).jPlayer("setMedia", {
                    title: "Name",
                    m4v: "/video/file.m4v",
                    ogv: "/video/file.ogv",
                    webmv: "/video/file.webm",
                    poster: "/video/file.png"
                });
            },
            cssSelectorAncestor: "#jp_container_3",
            supplied: "webmv, ogv, m4v",
            size: {
                width: "100%",
                height: "100%"
            },
            useStateClassSkin: true,
            autoBlur: false,
            smoothPlayBar: true,
            keyEnabled: true,
            remainingDuration: true,      
            toggleDuration: true
        });
        var clickHandler = function(event) {
            event.preventDefault();
            var $jp = $('#jquery_jplayer_3');
            var status = $jp.data('jPlayer').status;
            if(status.paused) {
                $jp.jPlayer('play');
                } else {
                $jp.jPlayer('pause');
            }
        };
        $('#jquery_jplayer_3').on("click", clickHandler);
        $('#jquery_jplayer_3').on($.jPlayer.event.click, clickHandler);
    });
    //]]>
</script>
<div id="jp_container_3" class="jp-video" role="application" aria-label="media player">
    <div class="jp-type-single">
        <div class="jp-video-play">
            <button class="jp-video-play-icon" role="button" tabindex="0"><i class="fa fa-play"></i> PLAY</button>
        </div>      
        <div id="jquery_jplayer_3" class="jp-jplayer"></div>      
        <div class="jp-gui">
            <div class="jp-interface">      
                <div class="jp-row">
                    <div class="jp-controls">
                        <button class="jp-play" role="button" tabindex="0"><i class="fa fa-play"></i></button>
                        <button class="jp-stop" role="button" tabindex="0"><i class="fa fa-stop"></i></button>
                    </div>
                    <div class="jp-progress">
                        <div class="jp-seek-bar">
                            <div class="jp-play-bar"></div>
                        </div>
                        <div class="jp-time-holder">
                            <div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
                            <div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
                        </div>                  
                        <div class="jp-details">
                            <div class="jp-title" aria-label="title">&nbsp;</div>
                        </div>              
                    </div>      
                    <div class="jp-volume-controls">
                        <button class="jp-mute" role="button" tabindex="0"><i class="fa fa-volume-down"></i></button>
                        <div class="jp-volume-bar">
                            <div class="jp-volume-bar-value"></div>
                        </div>              
                        <button class="jp-volume-max" role="button" tabindex="0"><i class="fa fa-volume-up"></i></button>
                    </div>
                    <div class="jp-toggles">
                        <button class="jp-repeat" role="button" tabindex="0"><i class="fa fa-repeat"></i></button>
                        <button class="jp-full-screen" role="button" tabindex="0"><i class="fa fa-arrows-alt"></i></button>
                    </div>                      
                </div>
            </div>
        </div>
        <div class="jp-no-solution">
            Flash error
        </div>
    </div>
</div>

HTML:
<script type="text/javascript">
    //<![CDATA[
    $(document).ready(function(){
        new jPlayerPlaylist({
            jPlayer: "#jquery_jplayer_4",
            cssSelectorAncestor: "#jp_container_4"
        }, [
        {
            title:"Name",
            artist:"Autor",
            free:true,
            m4v: "/video/file.m4v",
            ogv: "/video/file.ogv",
            webmv: "/video/file.webm",
            poster: "/video/file.png"
        },
        {
            title:"Name",
            artist:"Autor",
            m4v: "/video/file.m4v",
            ogv: "/video/file.ogv",
            webmv: "/video/file.webm",
            poster: "/video/file.png"
        },
        {
            title:"Name",
            artist:"Autor",
            m4v: "/video/file.m4v",
            ogv: "/video/file.ogv",
            webmv: "/video/file.webm",
            poster: "/video/file.png"
        }
        ], {
            supplied: "webmv, ogv, m4v",
            size: {
                width: "100%",
                height: "auto"
            },
            useStateClassSkin: true,
            autoBlur: false,
            smoothPlayBar: true,
            keyEnabled: true,
            remainingDuration: true,      
            toggleDuration: true
        });  
        var clickHandler = function(event) {
            event.preventDefault();
            var $jp = $('#jquery_jplayer_4');
            var status = $jp.data('jPlayer').status;
            if(status.paused) {
                $jp.jPlayer('play');
                } else {
                $jp.jPlayer('pause');
            }
        };
        $('#jquery_jplayer_4').on("click", clickHandler);
        $('#jquery_jplayer_4').on($.jPlayer.event.click, clickHandler);
    });
    //]]>
</script>
<div id="jp_container_4" class="jp-video" role="application" aria-label="media player">
    <div class="jp-type-playlist">
        <div class="jp-video-play">
            <button class="jp-video-play-icon" role="button" tabindex="0"><i class="fa fa-play"></i> PLAY</button>
        </div>
        <div id="jquery_jplayer_4" class="jp-jplayer"></div>
        <div class="jp-gui">
            <div class="jp-interface">  
                <div class="jp-row">      
                    <div class="jp-controls">
                        <button class="jp-play" role="button" tabindex="0"><i class="fa fa-play"></i></button>
                        <button class="jp-stop" role="button" tabindex="0"><i class="fa fa-stop"></i></button>
                        <button class="jp-previous" role="button" tabindex="0"><i class="fa fa-backward"></i></button>
                        <button class="jp-next" role="button" tabindex="0"><i class="fa fa-forward"></i></button>
                    </div>
                    <div class="jp-progress">
                        <div class="jp-seek-bar">
                            <div class="jp-play-bar"></div>
                        </div>
                        <div class="jp-time-holder">
                            <div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
                            <div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
                        </div>
                        <div class="clear"></div>
                        <div class="jp-playlist">
                            <ul>
                                <li>&nbsp;</li>
                            </ul>          
                        </div>          
                    </div>          
                    <div class="jp-volume-controls">
                        <button class="jp-mute" role="button" tabindex="0"><i class="fa fa-volume-down"></i></button>
                        <div class="jp-volume-bar">
                            <div class="jp-volume-bar-value"></div>
                        </div>
                        <button class="jp-volume-max" role="button" tabindex="0"><i class="fa fa-volume-up"></i></button>              
                        <div class="jp-toggles">
                            <button class="jp-repeat" role="button" tabindex="0"><i class="fa fa-repeat"></i></button>
                            <button class="jp-shuffle" role="button" tabindex="0"><i class="fa fa-random"></i></button>
                            <button class="jp-full-screen" role="button" tabindex="0"><i class="fa fa-arrows-alt"></i></button>
                        </div>          
                    </div>      
                </div>
            </div>  
        </div>      
        <div class="jp-no-solution">
            Flash error
        </div>
    </div>
</div>

jPlayer на github
Сайт плагина: www.jplayer.org
 

Тему смотрели (Всего: 0)

Тема долгое время не просматривалась.

bodr.net.ru Бодрый топ рейтинг мобильных WAP сайтов KatStat.ru - Топ рейтинг сайтов
Top.Mail.Ru dinowap.ru zontop.ru wabtop.ru - Рейтинг и статистика мобильных сайтов vetop.ru statop.ru - Топ рейтинг сайтов Добавить сайт в интернете для рекламы
Сверху