Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Lightbox Ultimate – HTML5 with multiple formats and flash fallback

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – HTML5 with multiple formats and flash fallback

Tagged: html5, lightbox, mp4, shortcode

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 3 months ago by wpCommerce.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 25, 2013 at 2:15 pm #8424
    HatchWeb
    Member

    Is there a way to serve up multiple file formats (mp4, ogv, webm) with flash fallback? I do see how to do the html5 shortcode but not sure how to offer up the multiple formats.

    Also, having flash as a fallback for older browsers.

    We did install video.js to try that for the video serving but I was not sure if there was a way to tie that into the lightbox your plugin offers or if that is extra and I can do it all with yours.

    Also, just as a side note, on my test page (below), the top video is with LightBox Ultimate and the HTML5 shortcode. I can’t get the lightbox to close correctly when it is done playing.

    Test URL: http://devstore.hatchearlylearning.com/devin-test/

    Thank you so much!

    January 25, 2013 at 3:39 pm #53364
    HatchWeb
    Member

    Alternatively, I think I got the other plugin working.

    I know there is a way to modify the shortcode return to allow shortcode within shortcode. I’m assuming that’s what I have to do here. How would I modify your plugin to allow shortcode within shortcode?

    My thought is that if I could have something like this:

    [wp_lightbox_html5_video [video autoplay="false" mp4="http://video.hatchearlychildhood.com.s3.amazonaws.com/issMobileVideo_2-test.mp4" preload="auto" width="640" height="480" id="movie-id" class="alignleft"] width=”640″ height=”480″ source=”/wp-content/uploads/2012/08/tablet-for-kids-video.png”]

    *The advantage to this is that with the [video] shortcode, I can serve multiple formats so I could do something like:

    [video autoplay="false" mp4="URL" ogv="URL" webm="URL" preload="auto" width="640" height="480" id="movie-id" class="alignleft"]

    I do have your plugin working as far as playing the mp4 and even playing on the older, Android browser. My issue is now the manner to serve up multiple file formats similar to what a <video> html5 tag would be capable of.

    January 26, 2013 at 11:00 pm #53365
    wpCommerce
    Moderator

    Hi, currently we don’t support multiple video formats in the shortcode for HTML5 video (because it will create more confusion). we only support H264 encoded mp4 format and all major browsers will be able to play that video.

    January 29, 2013 at 4:33 pm #53366
    HatchWeb
    Member

    We are trying to do the format to handle some older Android browsers that won’t work with the mp4.

    Is there a way to “turn on” shortcodes within your shortcode?

    January 29, 2013 at 11:02 pm #53367
    wpCommerce
    Moderator

    Hi, You will either have to customize the lightbox shortcode or use your own customized shortcode to handle everything. There is no way to place one shortcode inside the parameter of another shortcode. That’s not how a shortcode works. You can check the WordPress guideline for creating a shortcode:

    [http://codex.wordpress.org/Shortcode_API]

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ