Azure blob streaming video - ASP.NET MVC -


i using azure block blob , making sure setup content type video/mp4 when uploading video asp.net mvc application. i'm using videojs framework stream video. problem is, cannot forward video or use other controls such going in video.

i have read various posts on how server might not willing accept partial content requests (206) after initial request , in other cases, content type might not set.

here's example video i'm trying render:

https://qasimalishah.blob.core.windows.net/videoscontainer/2016-may-25-02-52-59_realize%20your%20love%20to%20family%20qasim%20ali%20shah%20urdu%20hindi%20waqasnasir.mp4 

on page page cannot forward example.

this how i'm rendering on view

<video id="really-cool-video" class="video-js vjs-default-skin" controls poster="@model.mediathumbnailurl"                             preload="auto" style="width: 100%; min-height: 380px; height: 100%;"                             data-setup='{}'>                         <source src="@model.mediaurl" type="video/mp4"/>                         <p class="vjs-no-js">                             view video please enable javascript, , consider upgrading web browser                             supports html5 video.                         </p>                     </video> 

where @mediaurl reference of azure public blob. might sound stupid in 2016 missing here?

i made working setting storage version latest. ridiculous thought microsoft may have covered in year 2016 upon investigation saw defaultserviceversion null.

cloudblobclient cloudblobclient = cloudstorageaccount.createcloudblobclient();             var properties = cloudblobclient.getserviceproperties();             if (string.isnullorempty(properties.defaultserviceversion))             {                 //set version of storage latest                 properties.defaultserviceversion = "2015-04-05";                 cloudblobclient.setserviceproperties(properties);             } 

thanks blog able figure out. may in future.

thanks


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -