iphone video native play button position + autoplay

james's Avatar

james

30 Nov, 2012 11:15 PM

Hi everyone,

Loving the slider, it's working great for our purposes so far. I had two questions regarding using video in a slider on iPhone.

  1. Is there any way to have the video play after tapping the arrow image? Currently after tapping the arrow image, the <video> element gets created and then I have to tap the native video player play arrow to start the video. On iPad and desktop tapping the arrow image auto plays the video once loaded. Can this same behaviour be achieved on iPhone?

  2. The arrow is off center (the native one) - shown in the screengrab. Is this normal behaviour?

cheers and thanks in advance!
James

  1. Support Staff 1 Posted by Dmytro Semenov on 01 Dec, 2012 08:13 AM

    Dmytro Semenov's Avatar

    Hi,

    iOS doesn't support auto playing video, so after you click on play button and Vimeo iframe is added you need to press play one more time. Ref.

    The only workaround for this is to put iframe with video directly inside slide (without cover image), but then there might be issues with speed and touch navigation. e.g.:

    <div class="royalSlider">
         <!-- most likely you'll also need wmode=transparent to embed code-->
         <iframe src="http://vimeo.com/other_vimeo_stuff" />
         <div>Senond slide</div>
        <div>Third slide</div>
    </div>
    

    The second arrow that you see is Vimeo play button.

    Dmitry

  2. 2 Posted by james on 07 Dec, 2012 02:21 PM

    james's Avatar

    Thank you for the reply Dmitry, greatly appreciated!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • photo_1.PNG 346 KB
  • photo_2.PNG 185 KB
  • photo_3.PNG 140 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac