Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
2fb689d3
Commit
2fb689d3
authored
Sep 09, 2008
by
Nigel McNie
Browse files
HTML escape URL for video link for the WMP player (in an attempt to fix WMP/FF brokenness)
parent
2961314f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/blocktype/internalmedia/lib.php
View file @
2fb689d3
...
@@ -290,7 +290,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
...
@@ -290,7 +290,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
public
static
function
wmp_player
(
$artefact
,
$block
,
$width
,
$height
)
{
public
static
function
wmp_player
(
$artefact
,
$block
,
$width
,
$height
)
{
$url
=
self
::
get_download_link
(
$artefact
,
$block
,
true
);
$url
=
hsc
(
self
::
get_download_link
(
$artefact
,
$block
,
true
)
)
;
$size
=
'width="'
.
$width
.
'" height="'
.
$height
.
'"'
;
$size
=
'width="'
.
$width
.
'" height="'
.
$height
.
'"'
;
$autosize
=
'false'
;
$autosize
=
'false'
;
...
...
Write
Preview
Supports
Markdown
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