.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Playing video's in an asset library

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :SharePoint
 
Hi, I've got an asset library with a bunch of video's in it. The aim is to get the videos playable in the browser. I see two possible ways to do this ootb with SharePoint 2010: a) create a corresponding publishing page for each video, add a media player web part and connect it to the video. As far as i can determine it appears as though you can't dynamically switch the source of the webpart so you need multiple webparts/pages to display all the videos, which i find abit messy. b)use the option built into the asset library where when you hover over a video you get the option to play. This method fits perfectly however when i click play, the video player stretches the video and distorts it (and also makes it run more sluggishly), and i can't seem to find a way to tell it what size to play the video at. I've used a 'Video' content type and set the 'Frame Height' and 'Frame Width' fields however it doesn't change anything. So there are 2 questions: 1) Is there any way to control the size of the player launched from the asset library? 2) Is it possible to dynamically change the source of media player webpart? e.g. webpart connection to an asset list or something along these lines?   Thanks in advance


View Complete Post


More Related Resource Links

Playing video files in sharepoint

  
I uploaded Media file in sharepoint site. When click on video file, Windows media player open in my machine and got an error saying "Windows media player encountered a problem while playing a file". I have the same file in my local machine. It is playing fine. Only I have from sharepoint site.   Can some explain and solve the problem please? ItsMeSri

No sound when playing MPEG video in MediaElement

  
Hi, I am writing a multimedia centre using the WPF MediaElement control, the project is very mature and going really well. However I get no audio when my player plays a .MPG file. I have tried installing lots of different codec packages on my test machine but to no avail. The same files have audio when loaded in WMP but not in my WPF application. I am developing on an XP machine and on that I get sound, but on my target machine, Windows 7, no sound! Other formats such as AVI etc do not have this problem. Any ideas? Thanks in advance

List Instance based on Asset library

  
HI Guys, There are three content type associate with Asset library but now i want to create a list instance based on Asset Library but i dont want these three content type i want only the custom content type i have created. I know how to do this in browser interface but i want to do in VS2010. I Know i have to create listinstace item type i did that then i dont know what i have to do in order to hide all out of box content types associate with asset library. Please assist me with thisThanks Ron

List Instance based on Asset library

  

HI Guys,

There are three content type associate with Asset library but now i want to create a list instance based on Asset Library but i dont want these three content type i want only the custom content type i have created.

I know how to do this in browser interface but i want to do in VS2010.

I Know i have to create listinstace item type i did that then i dont know what i have to do in order to hide all out of box content types associate with asset library.

Please assist me with this


Thanks Ron

Can I embed video in a picture library?

  

I created a picture library. I added a picture to the library. In one of the columns I need to display video. Now when I click on the picture I see a list of all the columns I created including a column I called "Video Link". Now instead of seeing this as a link to the video, I want the video to be embedded. Is this possible?

Thanks, Ninel

 


Microsoft WPF options for playing HD Video?

  
I'm writing a WPF app that needs to play HD video. As others have found MediaElement does not cope easily with HD. Windows Media Player on my machine plays the (.wmv) HD file smoothly and GraphEdit plays the file smoothly both by default and when I use EVR.

When using GraphEdit with both renderers my CPU barely goes above 30%.

When I play this video in my WPF app I barely get 3fps and it's simply unusable. I get similar non-performance when using MediaPlayer.

I know there's WPF MediaKit but, no offense to Jeremiah, I'd rather not use a solution built by individuals for a core part of this application. I'm also looking at the WMP control but MediaElement/MediaPlayer fits so nicely in with data binding and with MVVM.

What is it that's causing the MediaElement to perform so badly, and is there anything that can be done about it?

WPF issues playing WMV video in Internet app

  
I have a WPF website app. I loaded a mediaelement and played a WMV video. I published the website but I can only see the video play from my machine via the website. I suspect it's just playing off the local drive? From any other computer it simply doesn't play, no errors.

Upload Multiple Documents to Asset Library fails for files >100 MB

  

The upload of large files > 100 MB fails with the "Upload Multiple Documents / Drag & Drop"-Feature, where it is no problem to upload the failed files as single file via Upload Document - "Browse..." with filesize up to 2GB.

Any workaround or configuration tricks known?

(Windows Server 2008 R2, SQL Server 2008 R2, SharePoint Server 2010)

Peter


Video (application/x-oleobject) not playing in Firefox,Chrome and Opera

  

Hello.

I have a WebForm in which I need to play a video file (wmv, mpg or mpeg). Here is my code:

<object id="vid" width="320" height="240" 
style="position:relative; left:10;top:10;"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<param name="URL" value='<%=Session["videourl"]%>'/>
<param name="SendPlayStateChangeEvents" value="True" />
<param name="AutoStart" value="False" />
<param name="uiMode" value="full" />
<param name="PlayCount" value="9999" />
</object>

This works well in Internet Explorer. I get the little media player with its controls(play, stop, pause etc) and everything works fine. However, in Firefox (3.6.12), Opera, Chrome, I don't get anything, just a blank space where the media object should appear.

I did some googling and... the problem should be that, the object is an ActiveX control and only IE supports ActiveX, so thats why it only shows in IE. Well, can anyone give some suggestions to make this work in any browser (Firefox, Chrome, Opera)

TreeSelector : playing with generics and type inference

  
create a generic way to define a selection starting from a tree of objects, the most simpler way as possible.

Let's start with the beginning...
Here is a very simple little interface defining a node of the tree, basically, a value and the references to the child nodes.

Playing with Linq grouping: GroupByMany?

  
One of its features is grouping. Many people understand grouping like it is defined in Sql. Linq is implementing grouping quite the same way. Let's discover this syntax and how to make consecutive groups easier.

MOSS 2007 Tutorials video

  
This link about how create sharepoint website ,blogs,team site,document lib etc

How to Encrypt and Decrypt a Password using SQLSERVER 2005?(Video)

  
Encypt and Decrypt a Password using SQLSERVER 2005(Video)

SQL Server Backup and Restore (video)

  
Restore your full backup, then run a few queries before you keep restoring transaction logs. Brent shows how to use the Standby option for restores.

In this five minute video, Brent demonstrates how to do it by creating a database, populating data, and then showing what disaster recovery is like by doing RESTORE WITH STANDBY.

Upload a File to a SharePoint Document Library - Part I

  
The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

A flexible charting library for .NET

  
ZedGraph is a class library, Windows Forms UserControl, and ASP web-accessible control for creating 2D line, bar, and pie graphs of arbitrary datasets. The classes provide a high degree of flexibility - almost every aspect of the graph can be user-modified. At the same time, usage of the classes is kept simple by providing default values for all of the graph attributes. The classes include code for choosing appropriate scale ranges and step sizes based on the range of data values being plotted. Moreover, ZedGraph is compatible with .NET 2.0, and VS .NET 2005.

Enterprize library 4.1 getting output parameter after adding record in db, plz guide

  

Hi,

I need to get output parameter (flag) from db after saving record in database. I am using Microsoft Enterprise Library 4.1 for DB. I am inserting record using I Data reader.

Please guide

Thanks


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend