www.webdeveloper.com
Results 1 to 3 of 3

Thread: Quicktime in Magento

Hybrid View

  1. #1
    Join Date
    Jul 2013
    Posts
    1

    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 - > {
    'getProductVideo'.$number
    }();
    if (!empty($video_file)) {
    $screenshot = $product - > {
    'getProductVideo'.$number.'Screenshot'
    }();
    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
    Location
    localhost
    Posts
    2,221
    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.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  3. #3
    Join Date
    Aug 2012
    Posts
    25
    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.
    Web Development - PHP/ASP.Net/Java
    Application Development - ASP.NET, ASP.NET MVC, Silverlight, JQuery, JSON, HTML5 and Javascript
    Magento Development - Enhance your ecommerce business sales with Magento Development Services. Only ecommerce solution that sells 24*7.
    Magento Design - Give an Attractive Look to Your Website Today!
    Jetty | Process Apps | Application Performance | Build Applications

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



Recent Articles