scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 107  →  ?path2? @ 108
/graph.php
@@ -64,6 +64,8 @@
die('File not found.');
}
 
$GRAPH_URL = $config['URL_PATH'].'og/'.$_GET['hash'];
$CANON_URL = $config['URL_PATH'].'file.php?hash='.$_GET['hash'];
$URL = $config['URL_PATH'].$_GET['hash'];
 
switch(strtoupper($fileExtension)) {
@@ -94,23 +96,23 @@
echo <<<END
<html>
<head>
<!-- These two aren't necessary for embedding. -->
<meta property="og:type" content="video.other">
<meta property="og:title" content="Scratch Copy">
<meta property="og:site_name" content="Scratch Copy">
<meta property="og:title" content="Scratch Copy">
<meta property="og:type" content="video.other">
<meta property="og:description" content="Scratch Copy">
<meta property="og:url" content="$GRAPH_URL">
<meta property="og:image" content="https://scratch.grimore.org/img/blueprint.png">
<meta property="og:video" content='https://scratch.grimore.org/flowplayer/flowplayer.swf?config={"clip":{"url":"$CANON_URL"}}'>
<meta property="og:video:secure_url" content='https://scratch.grimore.org/flowplayer/flowplayer.swf?config={"clip":{"url":"$CANON_URL"}}'>
<meta property="og:image" content="https://cpy.ro/img/blueprint.png">
<meta property="og:video" content='http://cpy.ro/flowplayer/flowplayer.swf?config={"clip":"$URL"}'>
<meta property="og:video:secure_url" content='https://cpy.ro/flowplayer/flowplayer.swf?config={"clip":"$URL"}'>
<meta property="og:video:type" content="application/x-shockwave-flash">
<meta property="og:video:height" content="254">
<meta property="og:video:width" content="650">
<meta property="og:video:width" content="425">
<meta property="og:video:height" content="300">
</head>
 
<body>
<p>
<object width="425" height="300" id="Scratch Copy" name="Scratch Copy" data="https://scratch.grimore.org/flowplayer/flowplayer.swf" type="application/x-shockwave-flash"><param name="movie" value="https://scratch.grimore.org/flowplayer/flowplayer.swf" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value='config={"clip":{"url":"$CANON_URL"}}' /></object>
<object width="425" height="300" id="Scratch Copy" name="Scratch Copy" data="https://cpy.ro/flowplayer/flowplayer.swf" type="application/x-shockwave-flash"><param name="movie" value="https://cpy.ro/flowplayer/flowplayer.swf" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value='config={"clip":"$URL"}' /></object>
</p>
</body>