Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
2567c03f
Commit
2567c03f
authored
Nov 27, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: web intf: Ease mobile intf url access with QR-Code
parent
b7f09562
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
share/lua/http/index.html
share/lua/http/index.html
+1
-1
share/lua/http/js/ui.js
share/lua/http/js/ui.js
+7
-0
No files found.
share/lua/http/index.html
View file @
2567c03f
...
...
@@ -255,7 +255,7 @@
</div>
<div
class=
"footer"
>
VLC
<?vlc print(vlc.misc.version() ..
" - Lua Web Interface - "
.. vlc.misc.copyright()) ?>
VLC
<?vlc print(vlc.misc.version() ..
' - Lua Web Interface - <a id="mobileintflink" href="/mobile.html">Mobile Interface</a> - '
.. vlc.misc.copyright()) ?>
</div>
</div>
</div>
...
...
share/lua/http/js/ui.js
View file @
2567c03f
...
...
@@ -81,4 +81,11 @@ $(function () {
return
false
;
});
$
(
'
#stream_host
'
).
val
(
stream_server
);
$
(
'
#mobileintflink
'
).
click
(
function
()
{
var
urlimg
=
location
.
href
+
'
/mobile.html
'
;
var
codeimg
=
$
(
'
<img width="350" height="350" alt="qrcode"/>
'
);
codeimg
.
attr
(
'
src
'
,
'
http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=L&choe=UTF-8&chl=
'
+
encodeURIComponent
(
urlimg
));
codeimg
.
dialog
({
width
:
350
,
height
:
350
,
title
:
'
QR-Code
'
});
return
false
;
});
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment