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
Comment #1
alex ua commentedI'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...
Comment #2
darrenmothersele commentedYep. 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?
Comment #3
softtouch commentedAny news about this? I am afraid that some user may upload now such a video and it screw up my whole gallery...
Comment #4
softtouch commentedAny 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...
Comment #5
softtouch commentedAnything about this issue? My site is mainly based on this module and if user submit such a "critical" myspace file, it screws up everything...
Comment #6
softtouch commentedAny news about this bug? It render the whole video module useless.
If you want to screw up a site, just submit such a video!
Comment #7
michellepurestock commentedHi,
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.
Comment #8
softtouch commentedIts 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.
Comment #9
alex ua commentedSo don't allow MySpace videos until it's fixed.
Comment #10
michellepurestock commentedI 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.
Comment #11
alex ua commentedThe 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).
Comment #12
softtouch commentedThat 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.
Comment #13
alex ua commentedOne 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.
Comment #14
alex ua commentedOne 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...
Comment #15
aaron commentedodd. 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.
Comment #16
aaron commentedyes, it was working at http://drupal.org/node/217339 -- myspace must've changed things again.
Comment #17
aaron commentedthey 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
Comment #18
aaron commentedMyOpenSpace.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.
Comment #19
aaron commentedWho 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.
Comment #20
alex ua commentedOne 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
Comment #21
softtouch commentedIt 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...
Comment #22
mpunaskar commented1> 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
Comment #23
alex ua commentedGreat! Thanks Mandar- I'll try to look into this over the weekend.
Comment #24
alex ua commentedI fixed this in 6.x-1.x-dev- it will need to get ported to 5.x at some point.
Comment #25
alex ua commentedSince 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...