Hehe, yea that was me at the conference with the YouTube like app :)
I'm playing the source code for that one a bit closer to my chest at the moment
as I'm in the processes of extending a bit further and then will package it up
to take it to market and sell actually.
Truth be told though, as far as the analytics side of what I did, my solution
was very, very simple. I was just treating a page view on the viewer page I had
set up as a view of the video, and the player web part I put together just
incremented a field called views on the video item in the document library
when the page loaded (not ideal for heavy performance, the update of the
counter needs to go to a separate thread but I didn't go there in this case).
After the counter is updated you have your view count easily enough, but in the
app I demo'ed I had no interest in tracking views in relation to time which is
what it sounds like you might be after.
The same theory though could be applied to pushing more complex data such as
when a view happened to a separate list and then you could do your analytics on
that. You could look at workflow as a way of pushing the info into that list -
not sure how easy or not initiating a workflow from client side script would
be, which is where it would have to come from given that the player is
happening on that client. Also worth noting that the out of the box media
player doesn't have any events that I could find to hook in to that would
indicate that status of the video player changing (start, pause, finish, etc)
so you may also find that you mind need to create a new player that gives you
some hooks to tie in to for that sort of work if you take that approach, but if
you look at that then you might lose out on some of the streaming tech that
SharePoint apparently has between that web part and IIS (something about IIS
Smooth Streaming or something like that, again didn't look a whole lot in to
the tech behind that component).
I think the better solution would be to try to use an existing analytics
solution (the OOTB stuff might cut it, not sure) to try to determine what
videos were played and when. So if your video player page has a unique URL, or
a unique Query String see if you can build that into your analytics reports to
get the info you need, again though I'm not sure how flexible the OOTB stuff is
in that regard.
Hope that helps!
Regards,
Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.comhttp://blog.brianfarnhill.com/ | Twitter:
@BrianFarnhillhttp://twitter.com/BrianFarnhill | Mobile: 0408 289 303
Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydneyhttp://www.sharepointsaturday.org/Sydney |
Canberrahttp://www.sharepointsaturday.org/Canberra |
Melbournehttp://www.sharepointsaturday.org/Melbourne
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Maxine Harwood
Sent: Friday, 11 March 2011 11:12 AM
To: 'ozMOSS'
Subject: RE: Workflows, Stats and ... Videos!
I was at the same session at the SharePoint conference, it was one of my
favourite sessions. I think it was the session by Brian Farnhill and he has
some information on his blog - http://blog.brianfarnhill.com/. He may be
willing to share more if you contact him directly :)
I believe there is a codeplex project for the analytics side of things but cant
find the name of it - it was on twitter... codeplex has well as lots of parts
you could tap into for the project as a whole.
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Paul Noone
Sent: Friday, 11 March 2011 7:20 AM
To: ozMOSS
Subject: RE: Workflows, Stats and ... Videos!
You should have gone to the Australian SharePoint Conference. One of the tracks
was a deep dive developer session on building a YouTube like interface within
SharePoint. :)
No source available as yet but we tried...
Regards,
Paul
--
Online Developer/SharePoint Administrator,
ICT Infrastrcuture Team
CEO Sydney
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Uzma Naz
Sent: Tuesday, 8 March 2011 11:36 PM
To: ozmoss@ozmoss.com
Subject: Workflows, Stats and ... Videos!
Hiya,
I have a client who is looking at using WebEx to host videos and track number
of hits (like youtube) and who viewed them.
I'm looking at using SharePoint to host videos instead. I've been looking into
how we can meet requirements, such as show how many times a video has been
viewed and information on who viewed it and when.
How can I best achieve this as I can't see a solution that I can recommend
online?
I was thinking maybe if I had a SharePoint list which is populated via a
workflow once a video has been viewed fully and record information such as
time, user name and video URL?
Thanks,
Uzma