{"id":20729584,"url":"https://github.com/nicolasgraph/oui_dailymotion","last_synced_at":"2026-07-03T10:07:49.106Z","repository":{"id":70607063,"uuid":"43811805","full_name":"NicolasGraph/oui_dailymotion","owner":"NicolasGraph","description":"Embed Dailymotion video players in @Textpattern CMS through oui_player v2+","archived":false,"fork":false,"pushed_at":"2018-08-22T06:57:07.000Z","size":122,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T09:58:48.783Z","etag":null,"topics":["dailymotion","embed","oui-player","player","responsive","textpattern","textpattern-plugin","video","video-player"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NicolasGraph.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-10-07T11:45:24.000Z","updated_at":"2025-12-26T17:03:54.000Z","dependencies_parsed_at":"2023-06-19T05:24:36.825Z","dependency_job_id":null,"html_url":"https://github.com/NicolasGraph/oui_dailymotion","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/NicolasGraph/oui_dailymotion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasGraph%2Foui_dailymotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasGraph%2Foui_dailymotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasGraph%2Foui_dailymotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasGraph%2Foui_dailymotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicolasGraph","download_url":"https://codeload.github.com/NicolasGraph/oui_dailymotion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasGraph%2Foui_dailymotion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35081321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dailymotion","embed","oui-player","player","responsive","textpattern","textpattern-plugin","video","video-player"],"created_at":"2024-11-17T04:43:35.220Z","updated_at":"2026-07-03T10:07:49.101Z","avatar_url":"https://github.com/NicolasGraph.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. oui_dailymotion\n\n* \"Introduction\":#introduction\n* \"Plugin management\":#plugin-management\n* \"Tags and parameters\":#tags-and-parameters\n* \"Examples\":#examples\n* \"Credits\":#credits\n\nh2. Introduction\n\n\"oui_dailymotion\":https://github.com/NicolasGraph/oui_dailymotion is a \"oui_player\":https://github.com/NicolasGraph/oui_player v2+ extension to easily embed \"Dailymotion\":https://dailymotion.com/ provided videos in \"Textpattern\":https://textpattern.com/ powered websites.\n\nThe above platform serves cookies with its player, according to the EU legislation, you should warn your users about these cookies before they are added. This can be done by using \"oui_cookie\":https://github.com/NicolasGraph/oui_cookie.\n\nh3. Plugin requirements\n\noui_dailymotion's minimum requirements:\n\n* \"Textpattern CMS\":http://textpattern.com/ v4.6+;\n* \"oui_player\":https://github.com/NicolasGraph/oui_player v2+;\n* \"oui_provider\":https://github.com/NicolasGraph/oui_provider v1+.\n\nh2. Plugin management\n\nh3. Installation\n\nh4. From the admin interface\n\n# \"Download\":https://github.com/NicolasGraph/oui_dailymotion/releases the compiled plugin file or the source to compile a customized file.\n# Paste the content of the compiled plugin file under the \"Admin \u003e Plugins\":?event=plugin tab and click the _Upload_ button.\n# Confirm the plugin install by clicking the _Install_ button on the plugin preview page.\n# Enable the plugin and click the _Options_ link (or visit the _Preferences_ tab) to set the provider preferences.\n\nh4. Via Composer (not available yet)\n\nAfter \"installing Composer\":https://getcomposer.org/doc/00-intro.md…\n\n# Target your project directory:\n@$ cd /path/to/your/textpattern/installation/dir@\n# If it's not already done, lock your version of Txp:\n@$ composer require textpattern/lock:4.6.2@, where @4.6.2@ is the Txp version in use.\n# Install oui_dailymotion:\n@$ composer require nicolasgraph/oui_dailymotion@\n\nh3. Update\n\nh4. From the admin interface\n\n# Follow the installation instruction above.\n\nh4. Via Composer (not available yet)\n\nbc. $ composer update nicolasgraph/oui_dailymotion\n\nh3. Uninstall\n\nh4. From the admin interface\n\n# Check the box on the left of the plugin row under the \"Admin \u003e Plugins\":?event=plugin.\n# open the select list at the bottom of the plugins table and choose _Delete_.\n# confirm the plugin deletion.\n\nh4. Via Composer (not available yet)\n\nbc. $ composer remove nicolasgraph/oui_dailymotion\n\nh2. Tags and parameters\n\nh3. oui_dailymotion vs oui_player\n\nWhile the @\u003ctxp:oui_player /\u003e@ tag is able to embed any video from any extension-related provider, the @\u003ctxp:oui_dailymotion /\u003e@ tag is a shortcut to embed Dailymotion videos only. It is strictly equivalent to @\u003ctxp:oui_player provider=\"dailymotion\" /\u003e@.\n\nCheck the \"oui_player\":https://github.com/NicolasGraph/oui_player documentation for more informations.\n\nh4. Recognised values for the @play@ attribute\n\n* *ID*;\n* http(s)://dai.ly/[*ID*];\n* http(s)://www.dailymotion.com/video/[*ID*]…;\n* http(s)://www.dailymotion.com/embed/video/[*ID*].\n\nWhen using the @\u003ctxp:oui_player /\u003e@ tag (vs @\u003coui_dailymotion /\u003e@), the right provider needs to be set if the @play@ value or its field related one is an ID. It is optional, but can fasten the rendering, if the value is an URL.\n\nh4. Player customization\n\nh5. Preferences vs attributes\n\nWhile some player customization elements, related to the media to play, should be used through attributes, these used as global settings should preferrably be set through the plugin preferences to avoid a massive use of tag attributes.\n\nOf course, it is still possible to override a preference value via an attribute when needed.\n\nh5. Size\n\n- @width@ :=\nInteger; initially set to @480@;\nThe width of the player in pixels. =:\n- @height@ :=\nInteger; initially set to @270@;\nThe height of the player in pixels. =:\n- @ratio@ :=\nInteger[@:@]integer; initially not set;\nThe ratio used to calculate the missing value for the width or the height. =:\n- @responsive@ :=\n@true@ or @false@; initially set to @false@.\nAdapts the final player size from the provided width and/or height and/or ratio values to fit the container width.\nWraps the player and adds some styles. =:\n\nh5. Parameters (a→z)\n\nFrom Txp 4.7, paramaters accepting @true@ and @false@ as valid values can be enable through boolean/valueless attributes.\n\n- @api@ :=\n@false@, @postMessage@, @location@ or @1@; initially set to @false@.\nEnables or disables \"the javascript player api\":https://developer.dailymotion.com/player#player-api. =:\n- @autoplay@ :=\n@true@ or @false@; initially set to @false@.\nStarts the playback of the video automatically after the player load.\nThis parameter may not work on some mobile OS. =:\n- @controls@ :=\n@true@ or @false@; initially set to @true@.\nWhether to display the player controls or not. =:\n- @endscreen_enable@ :=\n@true@ or @false@; initially set to @true@.\nWhether to enable the end screen or not. =:\n- @mute@ :=\n@true@ or @false@; initially set to @false@.\nWhether to mute the video or not. =:\n- @origin@ :=\nURL; initially not set.\nThe domain of the page hosting the Dailymotion player.\nWhen using @api=\"postMessage\"@, you might want to specify origin for extra security. =:\n- @quality@ :=\n@240@, @380@, @480@, @720@, @1080@, @1440@ or @2160@; initially set to @auto@.\nSet the suggested playback quality for the video. =:\n- @sharing_enable@ :=\n@true@ or @false@; initially set to @true@.\nWhether to display the sharing button or not. =:\n- @start@ :=\nInteger, initially not set.\nSpecifies the time (in seconds) from which the video should start playing. =:\n- @subtitles_default@ :=\nInitially not set.\nSpecifies the default selected subtitles language. =:\n- @syndication@ :=\nInitially not set.\nPasses your syndication key to the player. =:\n- @ui_highlight@ :=\nHexadecimal color value; initially set to @ffcc33@.\nChanges the default colour used in the controls. =:\n- @ui_logo@ :=\n@true@ or @false@; initially set to @true@.\nWhether to display the Dailymotion logo or not. =:\n- @ui_start_screen_info@ :=\n@true@ or @false@; initially set to @true@.\nWhether to show video information on the start screen or not. =:\n- @ui_theme@ :=\n@dark@ or @light@, initially set to @dark@.\nChoose the default base colour theme. =:\n\nh3. oui_if_dailymotion vs oui_if_player\n\np. While the @\u003ctxp:oui_if_player\u003e…\u003c/txp:oui_if_player\u003e@ tag is able to check an URL against any URL from any extension-related provider, the @\u003ctxp:oui_if_dailymotion\u003e…\u003c/txp:oui_if_dailymotion\u003e@ tag is a shortcut to check an URL against Dailymotion related URL schemes only. It is strictly equivalent to @\u003ctxp:oui_if_player provider=\"dailymotion\"\u003e…\u003c/txp:oui_if_player\u003e@.\n\nCheck the \"oui_player\":https://github.com/NicolasGraph/oui_player documentation for more informations.\n\nh2. Examples\n\nh3. Embed a player using the preference values\n\nbc(language-markup). \u003ctxp:oui_player /\u003e\n\n\"oui_player\":https://github.com/NicolasGraph/oui_player preference related field value: @http://dai.ly/x2m8jpp@.\n\nh3. Embed a player by defining its provider and a media ID through attributes\n\nbc(language-markup). \u003ctxp:oui_player provider=\"dailymotion\" play=\"x2m8jpp\" /\u003e\n\n…or:\n\nbc(language-markup). \u003ctxp:oui_dailymotion play=\"x2m8jpp\" /\u003e\n\nh3. Conditionally embed a player using attributes\n\nbc(language-markup).. \u003ctxp:oui_if_player provider=\"dailymotion\" play=\"https://www.dailymotion.com/video/x2m8jpp\"\u003e\n    \u003ctxp:oui_player /\u003e\n\u003c/txp:oui_if_player\u003e\n\np. …or:\n\nbc(language-markup).. \u003ctxp:oui_if_dailymotion play=\"https://www.dailymotion.com/video/x2m8jpp\"\u003e\n    \u003ctxp:oui_dailymotion /\u003e\n\u003c/txp:oui_if_dailymotion\u003e\n\nh2. Credits\n\nh3. Author\n\n\"Nicolas Morand\":https://twitter.com/NicolasGraph\n_Thank you to the Textpattern community and the core team._\n\nh3. License\n\nThis plugin is distributed under \"GPL v2.0\":https://www.gnu.org/licenses/gpl-2.0.txt.\n\noui_dailymotion version 2.0.0-BETA3, Copyright (C) 2018 Nicolas Morand\nThis Textpattern plugin comes with ABSOLUTELY \"NO WARRANTY\":https://www.gnu.org/licenses/gpl-2.0.html#section11.\nThis is free software, and you are welcome to redistribute it \"under certain conditions\":https://www.gnu.org/licenses/gpl-2.0.html#SEC3.\n\nh3. Changelog\n\n* *oui_dailymotion v2.0.0-BETA3* (2018-08-15)\n** Changed: initial player size.\n* *oui_player v1.3.0* (2017-05-24)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasgraph%2Foui_dailymotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolasgraph%2Foui_dailymotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasgraph%2Foui_dailymotion/lists"}