Skip to content

Instantly share code, notes, and snippets.


Hypolite Petovan MrPetovan

Block or report user

Report or block MrPetovan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
MrPetovan / youtube_embed.html
Created Mar 30, 2018
Friendica Asynchronous Youtube Embed
View youtube_embed.html
<div class="oembed video">
<a class="embed_video"
// Base64 encoded embed HTML from Youtube
onclick="this.innerHTML=window.atob('PGlmcmFtZSB3aWR0aD0iNDI1IiBoZWlnaHQ9IjIzOSIgc3JjPSJodHRwczovL3d3dy55b3V0dWJlLmNvbS9lbWJlZC92WmdEQ25nb2E2dz9mZWF0dXJlPW9lbWJlZCIgZnJhbWVib3JkZXI9IjAiIGFsbG93PSJhdXRvcGxheTsgZW5jcnlwdGVkLW1lZGlhIiBhbGxvd2Z1bGxzY3JlZW4+PC9pZnJhbWU+'); this.classList.add('active'); return false;">
<img width="160" height="120" src="">
<div style="width: 160px; height: 120px;"></div>
<h4>YouTube: <a href="" rel="oembed">Présentation DojoCoin - EN</a> (NintendojoFR)</h4>
MrPetovan / robot.js
Created Dec 5, 2012 — forked from Shipow/robot.js
View robot.js
var Robot = function(robot) {
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
//i'll add a clone but i need to refactor collision
You can’t perform that action at this time.