EOL / tramea

A lightweight server for denormalized EOL data
Other
2 stars 1 forks source link

youtube videos not displaying #289

Closed jhammock closed 8 years ago

jhammock commented 8 years ago

Since our most recent harvest, Youtube videos are not displaying on EOL, though they are harvested. The data object pages contain an empty box, and Jeremy reports:

net::ERR_BLOCKED_BY_CLIENT

http://us-u.openx.net/w/1.0/sd?id=537072956&val=EVItREUCL0wJXClPEgA2RUACKEUJUCJJR1AmPsA-

Could you take a look when you have a little time, Eli? No great rush. The harvest queue isn't even re started yet.

eliagbayani commented 8 years ago

Problem is not with harvest or connector. Anyway this is how we display in eol.org a video flash. It worked for the longest time but not anymore.

< object data='http://www.youtube.com/embed/zrYBBjpjwx0' height='420' type='application/x-shockwave-flash' width='540' > … … </object>

The quick fix is to remove the value (application/x-shockwave-flash) for attribute ‘type’ in <object> element. Like so: <object data='http://www.youtube.com/embed/zrYBBjpjwx0' height='420' type='' width='540'> … … </object> This will display the video just fine.

jhammock commented 8 years ago

Thanks for that advice, Eli! Hopefully someone can pick up this task shortly. A quick fix sounds great for right now. I guess we can also revisit video display in Tramea...

JRice commented 8 years ago

Hmmmn. I suppose this is worth some consideration; isn't Flash player dead, now? ...As in, unsupposted and insecure?

Definitely something to revisit. I'll try removing the type tag, though...

JRice commented 8 years ago

Looks like it worked. ...Might be best to check for regressions on all other video types (all media, really), but I'm going to move on for now...