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

Undefined Index: Path #3

Closed
tusharvikky opened this issue May 16, 2013 · 1 comment
Closed

Undefined Index: Path #3

tusharvikky opened this issue May 16, 2013 · 1 comment

Comments

@tusharvikky
Copy link

Query1:
Unhandled Exception on "vendor\embed\embed\Embed\Url.php:441".

Image throws error;

Demo: http://oscarotero.com/embed/test.php?url=http%3A%2F%2Feconomictimes.indiatimes.com%2F

Query 2:
Also, Can I pass Video embed width and height manually?

@oscarotero
Copy link
Owner

Query1: I didn't see this error but I've see another similar (the src of the image). Thanks.

Query 2: No, you can't pass a specific width and height because this is a very complicated feature (each web service has its own embed code). But you can resize the videos (or frames or wharever) using css:

video {
     width: 200px;
     height: 150px;
}

You have also the property aspectRatio, to be more responsive (http://heliom.ca/blog/posts/responsive-videos)

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

No branches or pull requests

2 participants