Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rahul Dhawan 6 posts 27 karma points
    Feb 27, 2012 @ 11:56
    Rahul Dhawan
    0

    Custom Media Type for Video in Umbraco 5

    I am creating a custom Media Type for uploading Video in Umbrao 5. I found a good article for creating one in Umbraco 4.7 but could not locate its equivalent in Umbraco 5.

    The article for 4.7 can be found here: http://our.umbraco.org/wiki/how-tos/creating-custom-media-types

    So I am looking for procedure/steps to create a custom media type for Video in Umbraco 5 with following:

    • While adding new Media, select Video
    • While adding Rich Text in Content Section, upload new Media as Media Type "Video" selected.
    • In front end Render appropriate Video/Object tag to show/play the video file.

    Any help on Umbraco 5 is highly appreciated.

    Thanks in advance.

     

  • Seth Niemuth 275 posts 397 karma points
    Feb 27, 2012 @ 16:07
    Seth Niemuth
    1

    Media types are just like document types. So you can create a new one easily. If you go to 'Settings' < 'Media Types', you could create a new one called 'Video' which has a property of an uploader on it. If you are wanting to do something a bit more advanced and create your own data type(s), you can take a look at umbraco 5 contrib as there are some data types in that source code (http://umbraco5contrib.codeplex.com). Here is a wiki page with other umbraco 5 resource links: http://our.umbraco.org/wiki/recommendations/recommended-reading-for-net-developers/umbraco-5-resources.

Please Sign in or register to post replies

Write your reply to:

Draft