scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 135  →  ?path2? @ 136
/graph.php
@@ -105,7 +105,9 @@
echo <<<END
<html>
<head>
<meta property="fb:app_id" content="144991146129146">
<meta property="og:site_name" content="Scratch Copy">
<meta property="og:description" content="Scratch Copy">
<meta property="og:url" content="$BASIC_URL">
<meta property="og:title" content="Scratch Copy">
<meta property="og:type" content="video.other">
@@ -171,6 +173,15 @@
->videos()
->first()
->getDimensions();
$videoDuration = round(
$ffprobe
->streams($CANON_URL)
->videos()
->first()
->get('duration'),
0,
PHP_ROUND_HALF_UP
);
$videoWidth = $dimension->getWidth();
$videoHeight = $dimension->getHeight();
@@ -183,19 +194,19 @@
echo <<<END
<html>
<head>
<meta property="fb:app_id" content="144991146129146">
<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:description" content="Scratch Copy">
<meta property="og:url" content="$GRAPH_URL">
<meta property="og:image" content="$PREVIEW_IMAGE_URL">
<meta property="og:video" content='$FLOW_PLAYER_VIDEO_URL'>
<meta property="og:video:secure_url" content='$FLOW_PLAYER_VIDEO_URL'>
<meta property="og:video:type" content="application/x-shockwave-flash">
<meta property="video:duration" content="$videoDuration">
<meta property="og:video:width" content="$videoWidth">
<meta property="og:video:height" content="$videoHeight">
<meta property="og:image:width" content="$imageWidth">
<meta property="og:image:height" content="$imageHeight">
</head>