summaryrefslogtreecommitdiff
path: root/pages/vlc.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/vlc.ecpp')
-rw-r--r--pages/vlc.ecpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/vlc.ecpp b/pages/vlc.ecpp
index 51c4338..b8cea6f 100644
--- a/pages/vlc.ecpp
+++ b/pages/vlc.ecpp
@@ -41,10 +41,10 @@ using namespace vdrlive;
<html>
<head>
<title>VDR-Live - <$ pageTitle $></title>
+ <& pageelems.stylesheets &>
<%cpp>
if (!asyncReq) {
</%cpp>
- <& pageelems.stylesheets &>
<& pageelems.ajax_js &>
<%cpp>
}
@@ -63,10 +63,12 @@ using namespace vdrlive;
<%cpp>
if ( Channel != 0 ) {
int streamdevPort = LiveSetup().GetStreamdevPort();
- string videourl = string("http://") + request.getServerIp() + ":" + lexical_cast<string,int>(streamdevPort) + "/" + *Channel->GetChannelID().ToString();
+ // string videourl = string("http://") + "192.168.96.30" + ":" + lexical_cast<string,int>(streamdevPort) + "/TS/" + *Channel->GetChannelID().ToString();
+ string videourl = string("http://") + request.getServerIp() + ":" + lexical_cast<string,int>(streamdevPort) + "/TS/" + *Channel->GetChannelID().ToString();
</%cpp>
<embed type="application/x-vlc-plugin" name="video1" autoplay="yes" loop="yes" width="720" height="576" target="<$ videourl $>" />
<& vlc.channel_selection &>
+ <!-- <p><$ videourl $></p> -->
<%cpp>
}
</%cpp>