Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play video on mobile with Videojs control #398

Closed
thaihoc2 opened this issue Jul 18, 2016 · 1 comment
Closed

Play video on mobile with Videojs control #398

thaihoc2 opened this issue Jul 18, 2016 · 1 comment

Comments

@thaihoc2
Copy link

thaihoc2 commented Jul 18, 2016

Hi guys ,

I have an issue when display youtube videos with poster on mobile ( tested on iphone 6 and Samsung S5)
I tested with sample code :

    <video id="vid1"
           class="video-js vjs-default-skin"
           controls
           poster="../App_Themes/img/all-weather.png"
        width="640" height="264"
        data-setup='{ "techOrder": ["youtube"], "sources": [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=RBumgq5yVrA"}] }'>
    </video>

It worked well on desktop and not in mobile . If i remove "controls" it will be work , but i can't display poster image.

Could you give me some advice in this case ?

@gkatsev
Copy link
Member

gkatsev commented Jan 10, 2017

The controls/poster thing is a videojs issue: videojs/video.js#1625
As for the controls showing up and having this work on mobile, it's all working for me.

@gkatsev gkatsev closed this as completed Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants