Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-361

Fix nuxeo-video-preview demo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: UI-0.2.0
    • Fix Version/s: 1.0.1, 1.1.2
    • Component/s: UI

      Description

      It is not working because refactoring from ELEMENTS-128 was not applied.

      We need something like

      m3 fox@fox-laptop:~/workspace/nuxeo-ui-elements$ git diff
      diff --git i/demo/viewers/nuxeo-video-viewer/index.html w/demo/viewers/nuxeo-video-viewer/index.html
      index 1488169..0a9c96a 100644
      --- i/demo/viewers/nuxeo-video-viewer/index.html
      +++ w/demo/viewers/nuxeo-video-viewer/index.html
      @@ -23,10 +23,7 @@ limitations under the License.
           <link rel="import" href="../../../viewers/nuxeo-video-viewer.html">
         </head>
         <body unresolved>
      -    <nuxeo-video-viewer controls poster="poster.jpg">
      -      <source src="sample.mp4" type='video/mp4' />
      -      <source src="sample.webm" type='video/webm' />
      -      <source src="sample.ogv" type='video/ogg' />
      +    <nuxeo-video-viewer controls poster="poster.jpg" sources='[{"data": "sample.mp4", "type": "video/mp4"}]'>
           </nuxeo-video-viewer>
           <pre>(c) copyright 2008, Blender Foundation / <a href="http://www.bigbuckbunny.org/" target="_blank">www.bigbuckbunny.org</a>.</pre>
         </body>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h