<httpRuntime
executionTimeout="3600"
maxRequestLength="102400"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
enableVersionHeader="true"
/>
如果我在web.config文件中使用上面的代碼,我可以上傳大尺寸視頻,但視頻根本不播放。如果大小小於8 MB,則播放視頻。asp.net MVC - 大小超過10MB的視頻不播放
我試過下面的代碼。
<video width="100%" height="100%" controls autoplay>
<source src="~/@Model.video_Path" type="video/mp4">
</video>
什麼是響應的狀態碼?是413還是500或其他? –
在我的流媒體項目中,web.config中用於httpRuntime的條目如下所示: 它甚至可以在視頻標籤中播放4GB文件。但我在IIS 8.5(Windows Server 2012 R2)上運行aps.net站點也許它取決於它 –
NPC