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
Ensure mobile video poster is displayed on Android #994
Conversation
Before the poster was only displayed if the `native_video_player` feature was present. This is only the case on iPhone. Now we show the poster on all phone platforms, but hide it while videos are playing if the `native_video_player` feature is not present. Otherwise the video being played inline would not be visible.
} | ||
|
||
// But not while playing inline (e.g. on Android) | ||
&.has_no_native_video_player .videoPage.should_play .background_image { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector videoPage
should match regex /^[-a-z0-9_]+$/
|
||
.has_phone_platform { | ||
// Show mobile poster only on phone platform | ||
.videoPage .background_image { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector videoPage
should match regex /^[-a-z0-9_]+$/
@@ -0,0 +1,15 @@ | |||
.videoPage .background_image { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector videoPage
should match regex /^[-a-z0-9_]+$/
Backport of codevise#994 Before the poster was only displayed if the `native_video_player` feature was present. This is only the case on iPhone. Now we show the poster on all phone platforms, but hide it while videos are playing if the `native_video_player` feature is not present. Otherwise the video being played inline would not be visible.
Before the poster was only displayed if the
native_video_player
feature was present. This is only the case on iPhone.
Now we show the poster on all phone platforms, but hide it while
videos are playing if the
native_video_player
feature is notpresent. Otherwise the video being played inline would not be visible.
REDMINE-15810