--- title: Audio and Video title_extention: Playing HTML5 Audio and Video using J1 Template tagline: Playing Audio and Video files date: 2020-11-04 #last_modified: 2023-01-01 description: > The J1 Template support playing video on web pages by HTML5 Video, the new standard of HTML to show videos on web pages. keywords: > open source, free, template, jekyll, jekyllone, web, sites, static, jamstack, bootstrap, html, html5, video, support, flash player, quicktime, silverlight, videojs, vimeo, dailymotion, wistia, youtube categories: [ Roundtrip ] tags: [ Module, Video ] image: path: /assets/videos/headers/present_videos/still/underground-broadway.jpg width: 1920 height: 1280 personalization: true regenerate: false permalink: /pages/public/learn/roundtrip/present_audio_video/ resources: [ animate, gallery, lightgallery, masonry, rouge, videojs, vimeoplayer ] resource_options: - attic: slides: # Broadway Underground - still image (animate default) - url: /assets/videos/headers/present_videos/still/underground-broadway.jpg alt: Broadway Underground title: Audio and Video tagline: Playing Audio and Video files alignY: top animateFirst: false # Broadway Underground - FAYETTE ST, moved file to Github/LFS - url: /assets/videos/headers/present_videos/underground-broadway.mp4 alt: Broadway Underground Video title: Audio and Video tagline: Playing Audio and Video files alignY: 0 isVideo: true loop: false duration: 12000 # Broadway Underground - still image (animate random) - url: /assets/videos/headers/present_videos/still/underground-broadway.jpg alt: Broadway Underground title: Audio and Video tagline: Playing Audio and Video files alignY: top transition: push_left|push_right|cover_up|cover_down|fade|fadeInOut --- // Page Initializer // ============================================================================= // Enable the Liquid Preprocessor :page-liquid: // Set (local) page attributes here // ----------------------------------------------------------------------------- // :page--attr: :images-dir: {imagesdir}/pages/roundtrip/100_present_images // Load Liquid procedures // ----------------------------------------------------------------------------- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%} // Load page attributes // ----------------------------------------------------------------------------- {% include {{load_attributes}} scope="all" %} // Page content // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [role="dropcap"] The J1 Template system support playing audio and video on web pages by HTML5, the new standard of HTML to play audio and video files on webpages natively without the need of any external player. Modern browsers support the audio tag `