Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
a2d13f86
Commit
a2d13f86
authored
Feb 27, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable flash plugins
parent
a285bf2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
skproto.cpp
plugins/skproto.cpp
+4
-3
webwin.cpp
src/webwin.cpp
+2
-0
No files found.
plugins/skproto.cpp
View file @
a2d13f86
...
...
@@ -213,18 +213,19 @@ void SkyliveProtocol::processPackets()
{
SKMessage
mmsg
(
"youtubevideo"
);
#if defined(Q_OS_WIN)
//
#if defined(Q_OS_WIN)
QString
yt
(
"http://youtube.googleapis.com/v/"
);
yt
.
append
(
paramlist
[
0
]);
yt
.
append
(
"?autoplay=1&start="
);
yt
.
append
(
paramlist
[
1
]);
#else
//
#else
//SKMessage mmsg("openurl");
/*
QString yt("http://www.youtube.com/embed/");
yt.append(paramlist[0]);
yt.append("?html5=1&autoplay=1&start=");
yt.append(paramlist[1]);
#endif
#endif
*/
mmsg
.
parameters
.
insert
(
"url"
,
yt
);
mmsg
.
parameters
.
insert
(
"volume"
,
paramlist
[
2
]);
sendMessage
(
mmsg
);
...
...
src/webwin.cpp
View file @
a2d13f86
...
...
@@ -82,6 +82,8 @@ WebWin::WebWin()
baseUrl
=
QUrl
::
fromLocalFile
(
QDir
::
current
().
absoluteFilePath
(
"gui/dummy.html"
));
settings
()
->
setAttribute
(
QWebSettings
::
JavascriptCanOpenWindows
,
true
);
settings
()
->
setAttribute
(
QWebSettings
::
JavascriptCanCloseWindows
,
true
);
settings
()
->
setAttribute
(
QWebSettings
::
JavascriptCanAccessClipboard
,
true
);
settings
()
->
setAttribute
(
QWebSettings
::
PluginsEnabled
,
true
);
msgsender
=
SENDER
;
}
...
...
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