Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

An Auto-play plugin for discourse.

License

Notifications You must be signed in to change notification settings

discourse/discourse-plugin-autoplay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autoplay Plugin for Discourse

A plugin that auto-play media in the first post of a topic in Discourse.

Specification

  • Once a topic is loaded, the plugin will observe any changes made to the document object for the #post_1 element.
  • As soon as that element is found, the plugin will stop observing document.
  • Within the #post_1 node, the plugin will play the first media it finds using the supported media list (prioritizing in the order listed).

Supported Media

  • Youtube link.
  • Audio tag.
  • ... Feel free to suggest your desired options

Contribution

  • Report Issues - Please file any issues that you might consider.
  • Suggest Features - Feel free to suggest your ideas.
  • Submit PRs - PRs for fixes and features are welcome. Purely-refactoring PRs won't be accepted, however.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.8%
  • Ruby 28.1%
  • Handlebars 15.1%