projects
/
embedvideo
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12aedde
)
Additional bug fixes
author
Alan Jack Pippin
<ajp@pippin.(none)>
Tue, 12 Jun 2007 02:36:30 +0000
(20:36 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Tue, 12 Jun 2007 02:36:30 +0000
(20:36 -0600)
ItemAddEmbedVideo.inc
patch
|
blob
|
history
diff --git
a/ItemAddEmbedVideo.inc
b/ItemAddEmbedVideo.inc
index c0d355dc927a11fa18e5b6bb49a3a3486b5ccd32..ba84786843cbfb68f30300672ff6300118328572 100644
(file)
--- a/
ItemAddEmbedVideo.inc
+++ b/
ItemAddEmbedVideo.inc
@@
-122,7
+122,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
}
}
- if(
$debugOutput
) {
+ if(
!strcmp($debugOutput,"true")
) {
print "$xml";
}
print "$xml";
}
@@
-241,7
+241,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
* This reference will be embedded using the G2 internal player,
* or an external player if provided by the user.
*/
* This reference will be embedded using the G2 internal player,
* or an external player if provided by the user.
*/
- if(!
$useInternalFlvPlayer
) {
+ if(!
strcmp($useInternalFlvPlayer,"false")
) {
/*
* The user has indicated they want to use an external flv player
/*
* The user has indicated they want to use an external flv player
@@
-334,7
+334,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
$tmpFile = $platform->tempnam($tmpDir, 'add');
$tmpFile.= ".jpg";
$tmpFile = $platform->tempnam($tmpDir, 'add');
$tmpFile.= ".jpg";
- if(
$debugOutput
) {
+ if(
!strcmp($debugOutput,"true")
) {
print "thumbnail: $thumbnail <br>";
}
print "thumbnail: $thumbnail <br>";
}
@@
-357,7
+357,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
$fileName = preg_replace("/&#\d+;/","",$fileName);
/* General debug output */
$fileName = preg_replace("/&#\d+;/","",$fileName);
/* General debug output */
- if(
$debugOutput
) {
+ if(
!strcmp($debugOutput,"true")
) {
print "<p><a href=\"".$title."\" target=\"_blank\">";
print "<img src=\"".$thumbnail."\">\n</a>".$summary."</p>";
print "<p>$description</p>";
print "<p><a href=\"".$title."\" target=\"_blank\">";
print "<img src=\"".$thumbnail."\">\n</a>".$summary."</p>";
print "<p>$description</p>";