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

Adding option to specify poster image type #3

Merged
merged 1 commit into from
Aug 10, 2014

Conversation

Stanback
Copy link
Contributor

@Stanback Stanback commented Aug 8, 2014

When using Vide with a CDN host, I was having CORS issues when using $.get() to find the poster's image type.

I've added a new configuration setting, posterType to allow developers to manually specify the image type: "png", "jpg", or "gif". The default is "detect", which preserves the existing logic.

@vodkabears
Copy link
Owner

What CORS issues did you have? Poster could be found or no?

@Stanback
Copy link
Contributor Author

Stanback commented Aug 9, 2014

The poster couldn't be found, I've added a screenshot. I think I have control over CORS policies with Amazon S3, so I could probably fix it but people using other CDNs may not have the same flexibility.

screen-shot-2014-08-09-at-9 33 25-am

@vodkabears
Copy link
Owner

Ok, i understand, thank you. I had not thought about CORS.

I will merge it, but, i think, i know one else solution without ajax.

vodkabears added a commit that referenced this pull request Aug 10, 2014
Adding option to specify poster image type
@vodkabears vodkabears merged commit beefbc3 into vodkabears:master Aug 10, 2014
vodkabears added a commit that referenced this pull request Aug 19, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants