WordPress.org

Ready to get started?Download WordPress

Forums

how can I add video to single product page (5 posts)

  1. Perfect Circle
    Member
    Posted 1 year ago #

    Hi. Is there a plugin that will allow me to add a video next to or under the image gallery on a (woocommerce) single product page. Similar to this: http://www.opalsdownunder.com.au/unset-opals/20042455.

  2. Rajan V
    Member
    Posted 1 year ago #

    Add video custom field for post.
    Put YouTube code.
    Print it on your theme

  3. Perfect Circle
    Member
    Posted 1 year ago #

    How do I "Add video custom field for post"

    I don't want to use youtube. I have the videos on my server.

    what do you mean "Print it on your theme"

  4. Perfect Circle
    Member
    Posted 1 year ago #

    i have tried inserting the following code but it won't work:

    <video width="320" height="240" controls loop muted>
      <source src="http://www.essentialopals.com/public_html/wp-content/uploads/EOVideos/EOE50101/EOE50101.mp4" type="video/mp4">
      <source src="http://www.essentialopals.com/public_html/wp-content/uploads/EOVideos/EOE50101/EOE50101.ogv" type="video/ogv">
      <source src="http://www.essentialopals.com/public_html/wp-content/uploads/EOVideos/EOE50101/EOE50101.webm" type="video/webm">
      <object data="http://www.essentialopals.com/public_html/wp-content/uploads/EOVideos/EOE50101/EOE50101.mp4" width="320" height="240">
        <embed src="http://www.essentialopals.com/public_html/wp-content/uploads/EOVideos/EOE50101/EOE50101.flv" width="320" height="240">
      </object>
    </video>

    video player shows in firefox but says "no video with support format and MIME type found"

    in Chrome only the controls show but no funtionality.

  5. Perfect Circle
    Member
    Posted 1 year ago #

    Can someone please help with this?

    I have tested the files in there respective browsers and they all work fine.

    I have test the code with different files outside my site and it works, but with my path/files it won't work.

    I have tried different paths and permissions, still won't work.

Topic Closed

This topic has been closed to new replies.

About this Topic