1
我有頁面加載(VB)request.querystring,並希望使用查詢字符串結果加載Flowplayer。我不知道如何從代碼隱藏的查詢字符串中獲取值到流水遊戲。有什麼建議麼?將視頻從VB代碼隱藏動態加載到Flowplayer
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Dim videoName As String = Request.QueryString("FileName")
Dim thumb As String = Request.QueryString("Thumb")
End Sub
<div data-swf="http://mywebsite.com/player/flowplayer.swf" class="flowplayer play-button"
data-ratio="0.416" data-embed="false">
<video poster="NEED QUERYSTRING 'THUMB' VALUE HERE">
<source type="video/mp4" src="NEED 'VIDEONAME' VALUE HERE"/>
</video>
</div>