Results 1 to 3 of 3

Thread: Quicktime in Magento

  1. #1
    Join Date
    Jul 2013

    Quicktime in Magento

    I have an online restaurant menu on magento. Every product has a video description. When open a video on iPad it doesn't autostart and doesn't close when end. This is a php function, that opens a video file:

    private function _getProductVideo($product, $number, $class) {
    $video_file = $product - > {
    if (!empty($video_file)) {
    $screenshot = $product - > {
    if (!empty($screenshot)) {
    $html = '<a href="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'catalog/product/video/'.$video_file.'" class="'.$class.' videothumb rel"><img class="abs" src="'.Mage::getDesign() - > getSkinUrl('img/video_play.png').'" alt=""/><img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'catalog/product'.$screenshot.'" alt=""/><autoplay="true"></a>';

    return $html;

    I heard about quicktime .qtl format that has "quitwhendone" command, but don't know how to setup it on magento. So what should I do, to make videos in magento autostart and autoclose?

  2. #2
    Join Date
    Mar 2007
    YouTube uses a FLV player, you can get other FLV type players that had similar functions, so I would say that you broaden your search parameters to what is supported on your tablet / smart device.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  3. #3
    Join Date
    Aug 2012
    It is not because of Magento, but because of Player you are using within the Magento. Make sure you are using the default Magento version to upload the videos.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center