Media Instance Resource

Resource URI{id}


All xml extra xml elements for media will be outputed to JSON with a '(namespace)_(key)':'(value)' pattern. These elements include, but are not limited to: geo infomration, itunes details, media details, and boxee information. These values will only display if they are set.

Resource Properties

Property Description JSON XML
id int: A numerical id for the media. 1
url URL: A url to the actual media file. 1
link URL: The url to the media file on Media Hub. 1 1
title Text: The title of the media. 1 1
description Text: The descripton of the media. 1 1
length Int: The size of the media file in bytes. 1
image URL: A url to the image of the midea. 1
type TEXT: The type of media. 1
author Text: The author of the media. 1
pubDate Date: The date the media was published. YYYY-MM-DD HH:MM:SS. 1 1
dateupdated Date: The date the media was last updated. YYYY-MM-DD HH:MM:SS. 1
lastBuildDate Date: The date and time that the feed was last built. 1
docs URL: Link to RSS specification 1
generator Text: Name and version of the generator used to generate the channel. 1
managingEditor Text: Details about the managing Editor. 1
webMaster Text: Details about the webmaster. 1
ttl Int: The maximum number of minutes the chanel has to live before referesing from the source. 1





    "id": 1,
    "url": "https:\/\/\/uploads\/ucomm\/av\/video\/podcasts\/20100607_JazzInJune.mp4",
    "title": "Jazz In June Time Lapse",
    "description": "<p>Time lapse of the crowd at Jazz In June.<\/p>",
    "length": 7145215,
    "image": "https:\/\/\/media\/1\/image",
    "type": "video\/mp4",
    "author": "University Communications",
    "link": "https:\/\/\/media\/1",
    "pubDate": "2011-03-25 08:59:40",
    "dateupdated": null,
    "embed": "<div style=\"padding-top: 56.25%; overflow: hidden; position:relative; -webkit-box-flex: 1; flex-grow: 1;\">\n    <iframe style=\"bottom: 0; left: 0; position: absolute; right: 0; top: 0; border: 0; height: 100%; width: 100%;\" src=\"https:\/\/\/media\/1?format=iframe&autoplay=0\" title=\"Video Player:  Jazz In June Time Lapse\" allowfullscreen><\/iframe>\n<\/div>",
    "media_content url=\"http:\/\/\/ucomm\/ucomm\/av\/video\/podcasts\/20100607_JazzInJune.mp4\" fileSize=\"7145215\" type=\"video\/mp4\" lang=\"en\" width=\"640\" height=\"480\"": "",
    "media_copyright": "2010 University of Nebraska Lincoln",
    "media_thumbnail url=\"http:\/\/\/thumbnails.php?\"": ""




                            <?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:itunesu='' xmlns:itunes='' xmlns:media='' xmlns:boxee='' xmlns:geo='' xmlns:mediahub='' >
    <title>UNL MediaHub</title>
    <description>Media from the University of Nebraska-Lincoln</description>
    <pubDate>Thu, 01 Oct 2020 03:31:56 -0500</pubDate>
    <lastBuildDate>Thu, 01 Oct 2020 03:31:56 -0500</lastBuildDate>
    <generator>UNL_MediaHub 0.1.0</generator>
  <title>Jazz In June Time Lapse</title>
  <p>Time lapse of the crowd at Jazz In June.</p>  ]]></description>
  <pubDate>Fri, 25 Mar 2011 08:59:40 -0500</pubDate>
  <media:content url="" fileSize="7145215" type="video/mp4" lang="en" width="640" height="480"></media:content>
<media:copyright>2010 University of Nebraska Lincoln</media:copyright>
<media:thumbnail url=""></media:thumbnail>
  <enclosure url="" length="7145215" type="video/mp4" />
</item>    </channel>





<div class="dcf-bleed mh-video-band">
    <div class="dcf-wrapper dcf-pt-4 dcf-pb-4 dcf-d-flex dcf-jc-center">
        <div class="dcf-ratio dcf-ratio-16x9 dcf-flex-grow-1">
            <iframe class="dcf-ratio-child dcf-obj-fit-contain dcf-obj-top dcf-b-0" height="667" src="" allowfullscreen title="play media"></iframe>

<div class="dcf-bleed dcf-pt-8 dcf-pb-8">
    <div class="dcf-wrapper mh-media-page">
                <div class="dcf-grid dcf-col-gap-vw dcf-row-gap-4">
            <div class="dcf-col-100% dcf-col-75%-start@sm">
                <h1>Jazz In June Time Lapse</h1>
                <div class="mh-authoring dcf-grid-thirds@sm dcf-col-gap-vw dcf-txt-center">
                                            <div class="mh-stat">
                            <span class="mh-count">University Communications</span>
                            <span class="mh-context unl-font-sans">Author</span>
                                        <div class="mh-stat">
                        <span class="mh-count">03/25/2011</span>
                        <span class="mh-context unl-font-sans">Added</span>
                    <div class="mh-stat">
                        <span class="mh-count">178</span>
                        <span class="mh-context unl-font-sans">Plays</span>

                <h2 class="unl-font-sans">Description</h2>
                <div class="mh-summary"><p>Time lapse of the crowd at Jazz In June.</p></div>

                <div id="comments">
                                        <h2 class="unl-font-sans">Comments <svg class="dcf-h-4 dcf-w-4 dcf-fill-current" focusable="false" height="16" width="16" viewBox="0 0 24 24" aria-labelledby="icon-comment-5f7593fc742f1"><title id="icon-comment-5f7593fc742f1">icon comment</title><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/><path d="M0 0h24v24H0z" fill="none"/></svg></h2>
                    <span class="subhead">

                                    <a href="">Log in to post comments</a>

            <div class="dcf-col-100% dcf-col-25%-end@sm mh-sidebar">

              <div class="dcf-pt-4">
                  <button class="dcf-btn dcf-btn-secondary mh-hide-bp2 dcf-btn-toggle-modal" type="button" data-toggles-modal="embed-modal" aria-label="Show Media Embed Code"><svg class="dcf-h-5 dcf-w-5 dcf-fill-current" focusable="false" height="16" width="16" viewBox="0 0 24 24" aria-labelledby="icon-plus-5f7593fc74328"><title id="icon-plus-5f7593fc74328">icon plus</title><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/><path d="M0 0h24v24H0z" fill="none"/></svg>Embed</button>
                  <a href="" target="_blank" class="dcf-btn dcf-btn-secondary mh-hide-bp2" aria-label="Download Media"><svg class="dcf-h-5 dcf-w-5 dcf-fill-current" focusable="false" height="16" width="16" viewBox="0 0 24 24" aria-labelledby="icon-arrow-down-5f7593fc74338"><title id="icon-arrow-down-5f7593fc74338">icon arrow down</title><path fill="none" d="M0 0h24v24H0V0z"/><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"/></svg>Download</a>

                  <h5>Related Channels</h5>
<div class="channels">
        			<a href="" title="Videos about the University of Nebraska-Lincoln">
		    <div class="mh-channel-thumb mh-featured-channel dcf-txt-center">
                                            <object type="image/svg+xml" data="">
                            <img src="" alt="More at UNL Image">
		    <div class="mh-video-label dcf-txt-center unl-font-sans">
		                <span class="title">More at UNL</span>



<div class="dcf-modal dcf-bg-overlay-dark dcf-fixed dcf-pin-top dcf-pin-left dcf-h-100% dcf-w-100% dcf-d-flex dcf-ai-center dcf-jc-center dcf-opacity-100 dcf-pointer-events-auto" id="embed-modal" aria-labelledby="embed-modal" aria-hidden="false" role="dialog" tabindex="-1">
    <div class="dcf-modal-wrapper dcf-relative dcf-h-auto dcf-overflow-y-auto" role="document">
        <header class="dcf-modal-header dcf-wrapper dcf-pt-8 dcf-sticky dcf-pin-top">
            <h2 id="embed-modal-heading">Embed</h2>
            <button class="dcf-btn-close-modal dcf-btn dcf-btn-tertiary dcf-absolute dcf-pin-top dcf-pin-right dcf-z-1" type="button" aria-label="Close">Close</button>
        <div class="dcf-modal-content dcf-wrapper dcf-pb-8">
                        <label for="embed_code">
                <p><strong>iframe embed code:</strong> Copy the following code into your page</p>
                <textarea cols="25" rows="6" id="embed_code" onclick="; return false;">&lt;div style=&quot;padding-top: 56.25%; overflow: hidden; position:relative; -webkit-box-flex: 1; flex-grow: 1;&quot;&gt;
    &lt;iframe style=&quot;bottom: 0; left: 0; position: absolute; right: 0; top: 0; border: 0; height: 100%; width: 100%;&quot; src=&quot;;autoplay=0&quot; title=&quot;Video Player:  Jazz In June Time Lapse&quot; allowfullscreen&gt;&lt;/iframe&gt;
                Old embed code for testing purposes
                <div id="mediahub_embed_1" class="mediahub-embed" data-mediahub-embed-version="2">
    <a href="">Jazz In June Time Lapse</a>
<script type="text/javascript" src=""></script>


Format Information

The following is a list of formats used in MediaHub.