Dailymotion
(redirected from StefCTDemo.RandomCookbookPage)
You should consider using Ape instead of this recipe. This recipe is just maintained for historical reasons related to old wikis.
Questions answered by this recipe
How do I embed a Dailymotion (www.dailymoton.com) video on my page ?
Description
Markup for embedding DailyMotion videos. This module enables embedding of DailyMotion videos into wiki pages.
Installation
- download dailymotion.phpΔ to your cookbook directory.
- add the following line to your config.php file:
include_once("$FarmD/cookbook/dailymotion.php");
Configuration
In your confid.php you can setup the dailymotion with the array $Dailymotion:
$Dailymotion["html"] = 1; # Forces the HTML5 mode. $Dailymotion["background"] = '493D27'; # HTML color of the background of controls elements $Dailymotion["foreground"] = 'E8D9AC'; # HTML color of the forground of controls elements $Dailymotion["highlight"] = 'FFFFF0'; # HTML color of the controls elements' highlights ...
Check all parameters available for the player.
Usage
Simply use (:daily whatever:) where "whatever" is replaced with the cryptic id that is attached after video/ of DailyMotion URLs.
So for example if the URL to share a video is:
http://www.dailymotion.com/video/x31eya4_the-hateful-eight-premier-trailer-jouissif-pour-le-dernier-tarantino_shortfilms
then you'd write(:daily x31eya4:) or(:daily x31eya4_the-hateful-eight-premier-trailer-jouissif-pour-le-dernier-tarantino_shortfilms:)
Notes
By default the iframe-based embed player of dailymotion automatically chooses the technology to use (Flash, HTML5, ...).
You can force the use of html 5 player if needed :
In config.php :$Dailymotion["html"] = 1;
Change log / Release notes
- 2021-04-15 : Php7.2 compatible.
- 2015-08-14 : Update html code for the player. Add parameters via config.php. Php5.5 compatible.
- 2010-08-10 : First release ( by Anno )
See also
Page names: Cookbook.Video5, Cookbook.VideoAttach, Obsolete.CookBook-HTML5Video
- Cookbook /
- Ape Embed videos, maps, documents, and more in wiki pages (Stable)
- Audio5 HTML5 Audio Support for PmWiki (Stable)
- AutoPlay Unobtrusive embedding of video players from simple links (Superseded by Ape)
- Flash Embedding Flash movies; plus recipes for embedding Flash from specific sites like YouTube, Vimeo, GoogleVideo, Flickr, Archive.org, and more... (obsolete)
- FlashMediaPlayer Embed flash media players in your pages (obsolete) (Beta)
- Flowplayer Flowplayer recipe (obsolete) (Beta)
- FLVPlayer Embedding of Flash video (.flv) files into wiki pages the easy way. (obsolete) (initial release)
- Html5AVCtrl Enable youtube-like keyboard and mouse control of HTML5 video and audio.
- QuickTime Embed QuickTime content on wiki sites. (Stable)
- Video5 HTML5 Video Support for PmWiki (Stable)
- VideoAttach Handles Attach: videos, provides a video directive and optional support for popular Video Upload sites. (Beta)
- WMPlayer Embedding a Windows Media Player (stable)
- Obsolete /
- CookBook-HTML5Audio Play HTML5 Audio (obsolete - use APE - Automagical PmWiki Embed instead)
- CookBook-HTML5Video Show HTML5 Video (obsolete - use APE - Automagical PmWiki Embed instead)
Contributors
- AntonyTemplier 2015-08-14 2021-04-15
- Anno 2010-08-10
Comments
See discussion at Dailymotion-Talk
User notes : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.