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

Banner can't be show again after video start #2306

Closed
RoyBellingan opened this issue Jul 5, 2015 · 1 comment
Closed

Banner can't be show again after video start #2306

RoyBellingan opened this issue Jul 5, 2015 · 1 comment

Comments

@RoyBellingan
Copy link

Using version 4.12.7 (downloaded from web site on 5/July/2015) the poster gain the class
/* Hide the poster after the video has started playing */
.video-js.vjs-has-started .vjs-poster {
display: none;
}

The suggested method to show again the poster (as #972)
Is calling vid.posterImage.show();
Who use this.removeClass('vjs-hidden');

I'm using the same code as http://jsbin.com/pefanijuke/edit?html,output

IF I replace the downloaded file with

<script src="//advplace.ng/js/video.dev.js"></script>

Is working again...
(the cdn version is reported as v4.3.0)

@mmcc
Copy link
Member

mmcc commented Aug 12, 2015

Sorry for the delay, but the JSBin works for me. The poster shows again when the ended event fires. Closing this, but feel free to comment if you have any questions.

@mmcc mmcc closed this as completed Aug 12, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants