-
-
Notifications
You must be signed in to change notification settings - Fork 44
Home
Welcome to the MediaEmbed wiki!
You can run the tests locally using phpunit (the phar file, for example):
php phpunit.phar
Contributions as PR - respecting the coding standards of this project.
- Get embed local media working
- Support oembed json files to get more media infos
- Complete tests for all 100+ servives (and cleanup)
- Optimize regex
- Optimize attributes and params
- Include more image() support
- veetle.com
- ...
- godtube.com (only js snippet so far)
<script type="text/javascript" src="http://www.godtube.com/embed/source/ID.js?...></script>...
Plugin of this, but improved, with a better API.
Also:
- Include/Use https://github.com/felixgirault/essence
Check:
- https://github.com/nextgenthemes/advanced-responsive-video-embedder/blob/master/public/class-advanced-responsive-video-embedder.php
- http://www.lightreading.com/cable-video/video-services/top-ten-video-sharing-websites/d/d-id/630759
- https://groups.google.com/forum/#!topic/autoembed/EYZTn05vpe4
- http://www.phpclasses.org/browse/file/35564.html
Parse video URL and store a markdown syntax like version of it on save. Then upon display, reformat that markdown/bbcode syntax into the embedded video/audio etc.
Example:
- https://www.youtube.com/watch?v=G-Bn_kD6QN4
- becomes
[video=youtube]G-Bn_kD6QN4[/video]
- upon display of this markdown/bbcode board post, it will become
<iframe src="http://www.youtube.com/embed/G-Bn_kD6QN4" width="100%" height="385"></iframe>
http://comments.gmane.org/gmane.text.markdown.general/3049
OR
%[caption](URLs to video files)
This is the syntax for audio files:
~[title](URLs to audio files)
The percentage sign looks a little like the progress indicator on a video player; the tilde looks a bit like a waveform.
Here’s the code of the ruby library: https://github.com/rekado/rpeg-markdown
This is the code of the forked C library with the extended grammar: https://github.com/rekado/peg-markdown