HTML5 video playlist example Mới nhất

HTML5 video playlist example Mới nhất

Kinh Nghiệm về HTML5 video playlist example Chi Tiết


Bạn đang tìm kiếm từ khóa HTML5 video playlist example được Update vào lúc : 2022-12-21 13:37:09 . Với phương châm chia sẻ Thủ Thuật về trong nội dung bài viết một cách Chi Tiết 2022. Nếu sau khi tìm hiểu thêm nội dung bài viết vẫn ko hiểu thì hoàn toàn có thể lại Comments ở cuối bài để Tác giả lý giải và hướng dẫn lại nha.


Demo DownloadAuthor:OrlandoJCViews Total:18,437 viewsOfficial Page:Go to websiteLast Update:October 16, 2018License:MIT


Preview:


Dynamic Video Playlist Player In JavaScript


Description:


A dead simple and fully responsive Video Playlist Player that dynamically loads video files from a JSON file.


Nội dung chính


  • Description:

  • How to use it:


  • Written in pure JavaScript and CSS/CSS3. Without any 3rd dependencies.


    How to use it:


    Create the html for the video player & playlist.


    <div class=”container-player”>

    <div id=”mediaPlayer”>

    <div class=”lds-ring” id=preload><div></div><div></div><div></div><div></div></div>

    <video id=’truyền thông-video’ preload>

    <source src=”https://www.html5rocks.com/en/tutorials/video/basics/devstories.mp4″ type=”video/mp4″>

    <source src=”parrots.webm” type=”video/webm”>

    </video>

    <div id=”controls”>

    <button id=play><i class=”fas fa-pause”></i></button>

    <button id=audioVolume class=”fas fa-volume-off”></button>

    <div id=”progressBar”>

    <div id=”progress”></div>

    </div>

    <div id=”timer”>

    <span id=”start”> 0 : 00</span>

    </div>

    <button id=expand><i class=”fas fa-expand”></i></button>

    </div>

    </div>

    <div id=”playlist”>

    </div>

    </div>


    Load the Font Awesome for the video controls.


    <link rel=”stylesheet” href=”https://use.fontawesome.com/releases/v5.3.1/css/all.css” integrity=”sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU” crossorigin=”anonymous”>


    Load theVideo Playlist Players JavaScript and CSS files.


    <link rel=”stylesheet” href=”https://boxhoidap.com/ocplayer.min.css”>

    <script src=”ojcplayer.min.js”></script>


    Specify the video information (name, source, duration, cover image) in the video.json.


    [


    “id” : 0,

    “name” : “Devstories from google”,

    “source” : “https://www.html5rocks.com/en/tutorials/video/basics/devstories.mp4”,

    “duration” : “4:34”,

    “img” : “https://lonelyplanetstatic.imgix.net/op-video-sync/images/production/p-5810396717001-brightcove-when-to-go-to-the-azores-20180726-050333.jpg?w=160&h=90&sharp=10&q=50”

    ,

    “id” : 1,

    “name” : “Vida marina – Oceano”,

    “source” : “http://mirrors.standaloneinstaller.com/video-sample/jellyfish-25-mbps-hd-hevc.mp4”,

    “duration” : “4:34”,

    “img” : “https://lonelyplanetstatic.imgix.net/op-video-sync/images/production/p-5810396717001-brightcove-when-to-go-to-the-azores-20180726-050333.jpg?w=160&h=90&sharp=10&q=50”

    ,

    “id”:2,

    “name” : “Profundidades del oceano”,

    “source” : “http://thenewcode.com/assets/videos/ocean-small.mp4”,

    “duration” : “1:34”,

    “img” : “https://lonelyplanetstatic.imgix.net/op-video-sync/images/production/p-5810396717001-brightcove-when-to-go-to-the-azores-20180726-050333.jpg?w=160&h=90&sharp=10&q=50”

    ,

    “id”: 3,

    “name” : “Lo angeles timelapse”,

    “source” : “http://thenewcode.com/assets/videos/downtown-los-angeles.mp4”,

    “duration” : “3:34”,

    “img” : “https://lonelyplanetstatic.imgix.net/op-video-sync/images/production/p-5810396717001-brightcove-when-to-go-to-the-azores-20180726-050333.jpg?w=160&h=90&sharp=10&q=50”

    ,

    “id” : 4,

    “name” : “Panasonic test video HD”,

    “source” : “http://mirrors.standaloneinstaller.com/video-sample/Panasonic_HDC_TM_700_P_50i.mp4”,

    “duration” : “2:34”,

    “img” : “https://lonelyplanetstatic.imgix.net/op-video-sync/images/production/p-5810396717001-brightcove-when-to-go-to-the-azores-20180726-050333.jpg?w=160&h=90&sharp=10&q=50”

    ]


    See Also:


    • Custom HTML5 Video/Audio And Youtube/Vimeo Players vLite.jsCustom HTML5 Video/Audio And Youtube/Vimeo Players vLite.js

    • Custom Fullscreen HTML5 Video Player In JavaScriptCustom Fullscreen HTML5 Video Player In JavaScript

    • Accessible Custom HTML5 Video Player XdPlayerAccessible Custom HTML5 Video Player XdPlayer

    • Custom HTML5 Video Player Optimized For Movies moovie.jsCustom HTML5 Video Player Optimized For Movies moovie.js

    • Web Component Helper For HTML5 Videos Video Radio StarWeb Component Helper For HTML5 Videos Video Radio Star

    • Interactive HTML5 Video Player In Vanilla JavaScript ividInteractive HTML5 Video Player In Vanilla JavaScript ivid

    • Beautiful HTML5 Video Player In Pure JavaScript Ckin-Video-PlayerBeautiful HTML5 Video Player In Pure JavaScript Ckin-Video-Player

    • Custom HTML5 Video Player Plugin KwgVideoPlayerCustom HTML5 Video Player Plugin KwgVideoPlayer

    Reply

    1

    0

    Chia sẻ


    Chia Sẻ Link Tải HTML5 video playlist example miễn phí


    Bạn vừa tìm hiểu thêm tài liệu Với Một số hướng dẫn một cách rõ ràng hơn về Video HTML5 video playlist example tiên tiến và phát triển nhất Chia Sẻ Link Cập nhật HTML5 video playlist example Free.


    Thảo Luận vướng mắc về HTML5 video playlist example


    Nếu sau khi đọc nội dung bài viết HTML5 video playlist example vẫn chưa hiểu thì hoàn toàn có thể lại Comments ở cuối bài để Admin lý giải và hướng dẫn lại nha

    #HTML5 #video #playlist

Related posts:

Post a Comment

Previous Post Next Post

Discuss

×Close