Sign in or 

|
godzi11a |
using sharendipity to create a media player w/ youtube like voting etc
Jan 10 2010, 1:40 PM EST
We need some specific voting and tracking features, similar to the way youtube works. We would like all users to be able see the average votes a file has received (on a five star scale,) as well as the # of plays a file has received and the # of votes a file has received. Does sharendipity support a way to have global values that all users can vote on via an accumulator, which is then displayed? The existing youtube 'skin' player tutorial looks like a great step in the right direction, but I wanted to know if sharendipity had the capability i was looking for before I started spending tons of time programming only to learn it isn't going to work (had this happen too many times.) :-)
Do you find this valuable?
Keyword tags:
None
|
|
sharendipity |
1. RE: using sharendipity to create a media player w/ youtube like voting etc
Jan 19 2010, 10:09 AM EST
The features you're referring to are part of the YouTube Data API, which can be accessed inside of a Sharendipity app. For example, the video title and rating are displayed when you hover over the televisions in the YouTube apps you are referring to. That data is getting pulled dynamically from the YouTube API. That API provides access to every video detail you see in the browser when you visit the video page inside youtube.com. It's just a matter of pulling the data out and displaying it within your Sharendipity app. While anyone can program these APIs inside Sharendipity, there are a couple of YouTube implementations available already. If you search for "youtube" in the asset manager under the "types" category, you'll find a number of implementations. These all return an object called "YouTube Video" which encapsulates all of the fields you refer to. This blog post talks a bit more about the anatomy of the current YouTube example app... http://blog.sharendipity.com/create-your-own-mini-youtube-tvs Please let me know if I can help more! 1 out of 1 found this valuable. Do you? |
|
godzi11a |
2. RE: using sharendipity to create a media player w/ youtube like voting etc
Jan 19 2010, 10:09 PM EST
That is very good to know and very helpful, thank you. Users rating audio media files that are on my social networking site is central to what my site does. I was specifically hoping there was a way I could use sharendipity to manage the voting aspects so I could keep it all 'on site' so my users wouldn't have to go somehwere else to upload. It's a ning site (and I thought I was covered because the ning media player has voting but I found out that it is something that only the specific user sees (it is their personal rating of a file, and not a global voting on the file that everyone can see,)) so all the time I spent is now potentially de-railed until I can find an alternative way around this problem.
Do you find this valuable?
|
|
sharendipity |
3. RE: using sharendipity to create a media player w/ youtube like voting etc
Jan 20 2010, 11:03 AM EST
There may be a limitation with respect to the voting feature. Currently, the web services interface inside Sharendipity does not support secure user authentication. That means that users interacting with your app can't vote for themselves. It may be possible to vote with a "global" user credential, but I'm not certain how the YouTube API works in this regard. However, if user's are voting on youtube.com while logged in, those result can be accessed inside your app. Do you find this valuable? |
|
godzi11a |
4. RE: using sharendipity to create a media player w/ youtube like voting etc
Jan 24 2010, 11:27 AM EST
i don't mind if there is a global field showing the average of all the votes as well as a global number of times its been viewed or voted on. Is there a way to use these features skinned on the ning media player? or is the youtube api something specifically programmed into sharendipity? thanks again for your help and replies and all the information!
Do you find this valuable?
|
|
sharendipity |
5. RE: using sharendipity to create a media player w/ youtube like voting etc
Feb 4 2010, 11:42 AM EST
The answer is yes, but it's worth explaining a bit more about the architecture for background. There are multiple layers at play here which can easily lead to some confusion about what's available and possible with the the Sharendipity apps.Note that the Sharendipity application within Ning is simply a wrapper for the Sharendipity functionality you find at sharendipity.com. Network creators that add the app can configure it to display specific applications built inside of Sharendipity. For example, it can be configured to use a game kit or the YouTube templates or an educational template or... (fill in the blank). If there is a specific application that you'd like to use on Ning but can't find it, you can always create it! In that case, you'd build the app using our tools at sharendipity.com and then configure your instance of the Ning app to access your new creation. Specific to the YouTube applications... the apps that are currently available are using Google's web services to retrieve data from YouTube. Those web services provide access to every video detail you'd find on the video's page when you see it at youtube.com. So it's just a matter of displaying that data inside your Sharendipity application. If you hover over the center area between the play/rewind controls on the existing YouTube apps (there's usually a question mark there), you'll see that a hover window pops up with video details. It includes the video's title, total number of views, and average rating. It's easy to control how, when, and where any of this data is displayed. If you'd like to spec it out, I can help walk you through this process for creating the app in more detail. Do you find this valuable? |