Play hundreds of trivia quizzes
and create your own for free
log in   + Create a Quiz
 

API oEmbed

This is the documentation for our oEmbed endpoint. You can send any quiz URL, we will return the HTML to embed the quiz under flash code. Default size is 450px (width) and 337px (height).

URL Scheme
http://www.quiz.biz/quizz-*.html

Endpoint
http://www.quiz.biz/api/oembed

GET Parameters
url
 Required. URL of the quiz
format
 Optional. xml or json. (json by default)
maxheight
 Optional.
maxwidth
 Optional.
design
 Optional. color codes or your login is your have defined codes in your account

Example request
http://www.quiz.biz/api/oembed?url=http://www.quiz.biz/quizz-182015.html&format=json

JSON response
{
	"type":"rich",
	"version":"1.0",
	"title":"Quiz Which film is that ?",
	"author_name":"lautremont",
	"author_url":"http:\/\/www.quiz.biz\/annuaire\/profil-lautremont.html",
	"provider_name":"Quiz.biz",
	"provider_url":"http:\/\/www.quiz.biz",
	"thumbnail_url":"http:\/\/www.quiz.biz\/uploads\/quizz\/182015\/mini\/1_1.jpg?reload=1359193644",
	"thumbnail_width":"70",
	"thumbnail_height":"70",
	"html":"<object width=\"450\" height=\"337\"><param name=\"movie\" value=\"http:\/\/www.quiz.biz\/flash\/Quizz.swf\"><\/param><param name=\"allowFullScreen\" value=\"true\"><\/param><param name=\"allowscriptaccess\" value=\"always\"><\/param><param name=\"flashvars\" value=\"id=182015&host=http:\/\/www.quiz.biz&f=f&design=EDEFF4|3B5998|808080|3B5998|3B5998|000000|F4F4F4|Tahoma|14\"><\/param><embed src=\"http:\/\/www.quiz.biz\/flash\/Quizz.swf\" type=\"application\/x-shockwave-flash\" flashvars=\"id=182015&host=http:\/\/www.quiz.biz&f=f&design=EDEFF4|3B5998|808080|3B5998|3B5998|000000|F4F4F4|Tahoma|14\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"450\" height=\"337\"><\/embed><\/object>",
	"width":450,
	"height":337}

XML response
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
	<type>rich</type>
	<version>1.0</version>
	<title>Quiz Which film is that ?</title>
	<author_name>lautremont</author_name>
	<author_url>http://www.quiz.biz/annuaire/profil-lautremont.html</author_url>
	<provider_name>Quiz.biz</provider_name>
	<provider_url>http://www.quiz.biz</provider_url>
	<thumbnail_url>http://www.quiz.biz/uploads/quizz/182015/mini/1_1.jpg?reload=1359193754</thumbnail_url>
	<thumbnail_width>70</thumbnail_width>
	<thumbnail_height>70</thumbnail_height>
	<html>&lt;object width=&quot;450&quot; height=&quot;337&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.quiz.biz/flash/Quizz.swf&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;param name=&quot;flashvars&quot; value=&quot;id=182015&amp;host=http://www.quiz.biz&amp;f=f&amp;design=EDEFF4|3B5998|808080|3B5998|3B5998|000000|F4F4F4|Tahoma|14&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.quiz.biz/flash/Quizz.swf&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;id=182015&amp;host=http://www.quiz.biz&amp;f=f&amp;design=EDEFF4|3B5998|808080|3B5998|3B5998|000000|F4F4F4|Tahoma|14&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;450&quot; height=&quot;337&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</html>
	<width>450</width>
	<height>337</height>
</oembed>

Results





 


No text for partenairesBottom ?!
Generated on 20 Dec 14, 17h24