Okay
  Public Ticket #1708877
Coding Video
Closed

Comments

  • J started the conversation

    I purchased CANNA Html template. So far everything is great.
    I would like to embed an Adobe Flash animation video on your single portfolio page.
    http://deothemes.com/envato/canna/html/portfolio-single.html 

    Instead of the image, I want the viewer to click "play" button and would like the video to play. Do you have code for this?

    If Adobe Flash animation file cannot be played, then what code can I add to play avi, mp4, or other video format. Thank you!

  •  125
    Alexander replied

    Hi,

    I think you better stick with mp4 as it's fully supported by all mobile browsers. To embed the video, edit single-portfolio.html and replace owl-carousel code with the video code. So here is the code wrapped with col-md-8 column:

    <div class="col-md-8">
    <video width="400" controls>
    <source src="video/video.mp4" type="video/mp4">
    <source src="video/video.ogg" type="video/ogg">
    Your browser does not support HTML5 video.
    </video>
    </div> <!-- end col -->
    

    Then add your video to /video folder and name it properly (currently it's named video)

    Let me know if it resolves your issue.

    Regards.


    User friendly WordPress themes

    deothemes.com