I just noticed that if you enter a blip.tv video that is in a wide format, the Embedded Video Field does not guess the size correctly.

The video I posted should have a width of 400px and a height of 255px, but instead it posts with the dimensions of 425px by 350px.

I'm looking into this now, but wanted to post this here in case anyone else runs into the problem.

Comments

aaron’s picture

Category: bug » feature
Status: Active » Postponed

currently, you can only set the size at the field settings page. we'd have to make allowances for blip (and other providers) that send you differently aspected videos. not sure of a good ui for that either.

alex ua’s picture

Title: Problems with wide Blip.TV videos » Allow for "default" settings for height and width of videos
Version: 5.x-1.x-dev » 6.x-2.x-dev
Status: Postponed » Active

I'm re-activating this ticket. It seems that there should be a way for us to allow for video default width/height to be used when a provider gives us that information (rather than having it hard coded in the field settings). For example, we already have information from Blip.tv about the size and width of the videos we embed (stored in $data[flv][width] & $data[flv][height]), but we choose to ignore that info). I think aaron's initial inclination is correct that this should ultimately be handled by the provider files, but at the moment we don't give the provider files the opportunity to override this setting (as far as I can tell).

alex ua’s picture

Status: Active » Needs review

Actually, now that I think about it we *do* give the provider files the opportunity to define this, since the theme function that creates the actual embed is housed within each provider.inc. So... I guess I'll just add this to the Media: Blip.tv queue? Aaron- do you have any thoughts on this?

aaron’s picture

Status: Needs review » Active

actually, it would be good to allow an 'original' size, as nearly all providers will have a 'preferred' default size. that goes beyond bliptv.