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

Vertical bar, no autoplay and no loop #11

Closed
yangtheman opened this issue Jul 24, 2014 · 5 comments
Closed

Vertical bar, no autoplay and no loop #11

yangtheman opened this issue Jul 24, 2014 · 5 comments
Assignees
Milestone

Comments

@yangtheman
Copy link

Hi!

Great plug-in, by the way. It's exactly what I need, except a few things.

When I play the video, it shows vertical bars on both sides of the video, and neither autoplay nor loop=1 does not seem to work. When the page loads, the video doesn't play automatically and it doesn't loop either.

  $(function(){
    $('#bgvid').prettyEmbed({
      videoID: 'some_youtube_id',
      previewSize: 'hd',

      // Embed controls
      showInfo: false,
      showControls: false,
      loop: true,

      colorScheme: 'dark',
      showRelated: false,

      useFitVids: true
    });
  });

Any help would be much appreciated.

Thank you!

@mike-zarandona mike-zarandona added this to the v1.1.1 milestone Jul 25, 2014
@mike-zarandona mike-zarandona self-assigned this Jul 25, 2014
@mike-zarandona
Copy link
Owner

Thanks @yangtheman - I'll have a look and see if I can reproduce. Do you happen to have a live example I could look at?

@upmauro
Copy link
Contributor

upmauro commented Jul 25, 2014

@yangtheman , sorry, maybe I did not understand your problem.

I'm not sure about this, but i belive the "autoplay" option is used for describe if the video will play after you click in the "thumb" image, not when you load the page.

@mike-zarandona i read about "loop" parameter in google developers doc, and this parameter don't work in iframe without playlist argument, please check:
https://developers.google.com/youtube/player_parameters#loop

Maybe you need consider remove this parameter from your plugin.

@yangtheman
Copy link
Author

Hey @mike-zarandona, I've attached the screenshot. I don't see those vertical bars on youtube site.

screen shot 2014-07-24 at 2 59 56 pm

@upmauro, I see. I assumed 'autoplay' option is used to play the video as soon as page load is completed. I've seen other sites who use youtube to serve video, e.g. gopro.com, and I thought I could do it with autoplay.

Thanks for the reply.

@mike-zarandona
Copy link
Owner

Thanks for the screenshot, @yangtheman. Does this live online anywhere I can view it? The screenshot is nice, but it doesn't get me anywhere in terms of troubleshooting. :)

If I can't see this online, maybe you could send me any relevant code affecting the embed so that I might try to reproduce this issue locally. Thanks!

@spaghetti2514
Copy link

I'm getting the same vertical bar issue even on the demo site.

Gotta admit I was really confused about this.
screen shot 2014-07-26 at 9 59 44 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants