Got another issue related to thumbnails I guess.

Some videos from myspace, if added, screw up the whole page. Instead of the thumbnail, the module get parts of the myspace websites.
An example is this video: http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=298...

If I add this, my video overview page is totally screwed up. There is a part of the myspace website visible (the header image), followed by thumbnails (multiple, different).

Normal display with most myspace videos: http://i145.photobucket.com/albums/r212/softtouch_ph/video_normal.jpg

Bad display: http://i145.photobucket.com/albums/r212/softtouch_ph/video_bad.jpg

Any idea whats going on? That happen only with some myspace videos...

Comments

alex ua’s picture

I've been trying to figure out why this is happening, it appears to be some bad regex in the myspace.inc file related to scraping the thumbnail, but I haven't been able to isolate what part is causing the error, nor why it happens only on some videos. I'll try looking into this some more today/tomorrow...

darrenmothersele’s picture

Yep. i've got this too.

I'm pretty sure the problem is in the regex - I'm trying a few things, but maybe someone more familiar with the myspace.inc can step in?

softtouch’s picture

Any news about this? I am afraid that some user may upload now such a video and it screw up my whole gallery...

softtouch’s picture

Any news???? Thats an annoying bug! Any idea how we can fix it?
I added a video (9 parts = 9 videos), and part 5 behave the same, it screws up the whole page.

Check this:
The Great Global Warming Swindle - Part 5
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=271...

softtouch’s picture

Anything about this issue? My site is mainly based on this module and if user submit such a "critical" myspace file, it screws up everything...

softtouch’s picture

Any news about this bug? It render the whole video module useless.
If you want to screw up a site, just submit such a video!

michellepurestock’s picture

Hi,

I don't have myspace video thumbnails at all.

They screw up pages on firefox and safari as well. Looks like IE is okay at least for the page that has the full video on it.

softtouch’s picture

Its almost 1 month since I reported this and no feedback/fix. It render my site useless, because soon somebody post such a myspace video, it screws up the whole page layout.

alex ua’s picture

So don't allow MySpace videos until it's fixed.

michellepurestock’s picture

I know it is a pain, but turn on the upload custom thumbnail option. Then (not sure how to do this on a PC) if you are on a mac- shift apple 4 and highlight the video window and it will take a picture of it. Then upload that as the custom thumbnail. The upload custom thumbnail will resize it to whatever you set it up to be. (also turn on content notification for yourself so you get e-mails when people submit stuff)

That is what I am doing now because I want my users to be able to share their my space vids. I need the traffic and they won't be shooting any new videos for another month so they sharing what they shot last year before my site was using drupal and flash video upload.

And most of my users will never be able to figure out that there is an issue or how to upload their own thumbnails so I do it for them. Also my users at least are pretty forgiving for the myspace vids that just won't play on the page. If anyone spends any time on myspace, they know that it is slow and buggy so they are used to that.

Here is my front page, scroll down to user videos and you will see what I did. Most of those are myspace vids. www.purestock.tv

I figure that Alex and company are working on this issue. From my experience with other CMS, we first used Joomla for my site, this drupal module is great. But I got to tell you when we used an embed media module on Joomla, myspace was always the culprit to screw things up. I am not a programmer or developer though so I have no idea why myspace is so weird.

alex ua’s picture

The real problem here is that MySpace provides no documentation related to what we're trying to do here (or at least it isn't put together well enough to provide me with any clues as to how to correctly grab thumbnails from their videos). At this point I'm tempted to turn off MySpace thumbnails altogether until a solution is found (which might not happen until they release a solid, well documented, api).

softtouch’s picture

That would be a pity... the thumbnail function is so cool... people upload all the time myspace videos, so I would have the hell of a work to create manually all the thumbnails...
Youtube is worse here, low bandwidth, but myspace is damn fast, so my user use most of the time myspace.
And, it does not happen with all videos, just with SOME, maybe 1 of 10 or so. If I only would know a little more about php, I would be glad to help.

alex ua’s picture

One possible way to go would be to try and contact MySpace and see if they have suggestions for how to grab thumbnails. But, given the company that owns the service and their general reputation, I wouldn't bet money on them providing any help.

alex ua’s picture

One thing you could try is e-mailing MySpace, but given the ownership of the service and their general disdain for people trying to interact with their services, I'm not overly optimistic that this avenue would lead anywhere productive. Wouldn't hurt to try...

aaron’s picture

odd. they were working before. i thought i fixed that in the dev release. i'll look at my changes another time and see if it got lost. otoh, they may have changed their scheme yet again.

aaron’s picture

yes, it was working at http://drupal.org/node/217339 -- myspace must've changed things again.

aaron’s picture

they do now have an API: http://developer.myspace.com/community/

i don't have time this week to look at it. but if someone else can find something in their api that might help, i'm willing to take a few minutes and see if i can integrate that.

thanks,
aaron

aaron’s picture

MyOpenSpace.Video.Field.THUMB_URI will work. just need to find out how to use the API. can someone do that? otherwise, i'll see next week.

aaron’s picture

Who says that MySpace is not responsive? They sent me an e-mail 5 minutes after I asked them for help with their API. With instructions about how to upload a video on their site. I thanked them for their considerate non-sequitur.

alex ua’s picture

One of the problems with the API documentation is trying to figure out which parts relate to creating apps for MySpace, as opposed to creating apps to pull info from MySpace. After reading through their guides (which are pretty sparse atm) it seems like you can use their opensocial api for both, but again, I'm not really sure.

I've been looking through the developers forum, but still haven't found anything that speaks to exactly what we're trying to do. This forum may prove useful though:
http://developer.myspace.com/Community/forums/t/157.aspx

softtouch’s picture

It happen with old or new videos, does not matter, but only for SOME videos. Looks like they host some thumbs at another location on their server, so the url might be in a different format. Sounds stupid, but I have no idea how I could possibly help, as a NON-PHP programmer...

mpunaskar’s picture

1> You can get information about myspace video through simple http request to http://mediaservices.myspace.com/services/rss.ashx?type=video&videoID=xx... . Simply replace xxxxx with videoid from myspacetv video URL.

(Found this through Gallery 2 embedvideo module.More info here http://codex.gallery2.org/Gallery2:Modules:embedvideo)

2> For youtube videos make request to http://gdata.youtube.com/feeds/api/videos/XXXXXXX . Replace XXXXXX with youtube video id

3> For truveo make request to http://xml.truveo.com/apiv3?appid=yyyyyy&method=truveo.videos.getVideos&...
Replace yyyyy with truveo appid (available after registering) , xxxx with truveo videoid

Hope this everyone ;)

Mandar

alex ua’s picture

Great! Thanks Mandar- I'll try to look into this over the weekend.

alex ua’s picture

Status: Active » Patch (to be ported)

I fixed this in 6.x-1.x-dev- it will need to get ported to 5.x at some point.

alex ua’s picture

Status: Patch (to be ported) » Closed (fixed)

Since nobody has stepped up to port this patch, I'm going to go ahead and close this. 5.x support will end in the next month or two anyway...