HTML5 video in theme's home page

Discussion in 'Dzonia WordPress Theme' started by andyisli, Jun 18, 2013.

  1. andyisli

    andyisli New Member

    Joined:
    Jun 16, 2013
    Messages:
    3
    Likes Received:
    0
    Hi there - just started working on the Dzonia theme and wonder about use of video - what about embedding HTML5 video code in place of embedding from Youtube/Vimeo etc for the 'First Feature Section'
    Tried placing the html5 code but only shows the code when viewing the page - any help greatly appreciated.

    Thank Andy
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    To display the video in the First Feature Section, you can only use youtube embed code. It will not works for the HTML5 video code from the Theme Options. If you want to use the HTML5 video code in the front page then go to the front-page.php file present in your theme directory and put your HTML5 video code instead of image code.
    This will solve your issue.
     
  3. andyisli

    andyisli New Member

    Joined:
    Jun 16, 2013
    Messages:
    3
    Likes Received:
    0
    Thanks for that - think I'll go down the Vimeo route - will be easier for others to maintain in future.

    Thanks Andy
     

Share This Page