Problem with ytp video section on mobile devices

Support Forums for LiveMesh Themes & Plugins Forums Agile Theme Support Problem with ytp video section on mobile devices

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19775
    IT EXPERIENCE
    Participant

    Hi, I have a problem with display youtube video section on mobile devices (iphone,ipad) the video cannot be loaded. Can you help me with this issue?

    Site link: http://www.otticadiaz.it/

    Thanks for the support

    Alessandro

    #19776
    IT EXPERIENCE
    Participant
    This reply has been marked as private.
    #19793
    Veena
    Moderator

    At present, the video shortcode does not support mobile devices due to a numbers of reasons – restrictions on videos on mobile devices due to battery concerns and limited resources, flash support. Best way to go about this is to have two separate sections for mobile and desktop and then use media queries or CSS to hide/show the appropriate sections on the respective devices. So, you can have two page sections desktop-video and another mobile-video. For mobile video, you can use the regular youtube video URL. Then use CSS like this

    .mobile-video {display: none;}
    .mobile-device .desktop-video {display: none;}
    .mobile-device .mobile-video {display: block;}
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Agile Theme Support’ is closed to new topics and replies.