question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poster and Video being displayed

See original GitHub issue

Current behavior

When using a Video Element along with the poster prop, I am getting both displayed instead of one or the other. This was not a problem with the last version of the player.

image

Reproduction steps

Create React Code like this:

<Video source={{ uri: videoURI }}
                style={{ flex: 1, height: 200 }}
                paused={this.state.paused}
                controls={true}
                poster={posterURI}
            />

Expected behavior

I would expect the poster to be displayed until you click the play button. On clicking play, it would hide the poster and start the video.

Platform

Which player are you experiencing the problem on:

  • iOS

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jariwalabhaveshcommented, May 12, 2020

I feel like in audioonly mode it is fooling users. Video keeps playing and only poster stays at the top. There should be actual implementation which doesn’t use bandwidth for video only use audio bandwidth when audio-only flag is set.

Then audio only is only meaningful when there is bandwidth saving to switch from video to audio. But in current player implementation both mode use same bandwidth.

3reactions
martinopcommented, Mar 17, 2020

This is still an issue in 5.0.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML video poster Attribute - W3Schools
Definition and Usage. The poster attribute specifies an image to be shown while the video is downloading, or until the user hits the...
Read more >
Displaying Poster After Video - Google Groups
The poster is displayed until the video is played. After that, the current frame of the video is displayed and the poster is...
Read more >
LED Poster Video Display for Advertising w - Ikan
LED Poster Video Display for Advertising w/ Built In Media Player - Model: LEDPoster-P25 Pixel pitch of 2.5mm Bright vibrant display (1200 nit)...
Read more >
HTML | <video> poster Attribute - GeeksforGeeks
The HTML <video> poster Attribute is used to display the image while ... web page will be confused that how much space that...
Read more >
HTML video poster Attribute - Dofactory
HTML video poster -- the best examples. The poster attribute on a tag specifies the URL or path of an image which will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found