Difference between revisions of "Brettwilkins"
From Mahara Wiki
(Created page with "==Contributions== ===Overhaul of the externalvideo blocktype=== Gitorious diff here: https://gitorious.org/mahara/mahara/commit/eb37d4db009426bfc0fceb37d20cef220933a4af This pat…")
Revision as of 16:27, 17 June 2011
Overhaul of the externalvideo blocktype
Gitorious diff here: https://gitorious.org/mahara/mahara/commit/eb37d4db009426bfc0fceb37d20cef220933a4af
This patch splits out the logic for matching processing URLs on a per-provider basis. Also supported now are iframes, if the provider supports them. It is now trivial to add in page scraping for sites that require it to get a meaningful, embed-able URL from one which is not, and this can be implemented to occur once only, rather than each page load. See WikiEducator and Glogster for examples.
By breaking providers out into their own files and folders, I've made it much simpler to add new providers as necessary. (Documentation pending ;) ) - unfortunately, language strings still need to go into the one externalvideo language file.
coding standards test
This patch adds coding standards/guidelines checking to mahara and into the Makefile.