Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CEF HTML5 tag script: Chrome (and semi-FF) supported
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Fri Jun 25, 2010 2:16 am    Post subject: CEF HTML5 tag script: Chrome (and semi-FF) supported Reply with quote

Chrome now supported with HTML5 thanks to HolyBlah!
Firefox still uses flash because it doesn't support MPEG.


Firefox Greasemonkey script: http://174.132.149.82/files/mp3_cef.user.js (MP3 only)
Updated video Chrome script: http://174.132.149.82/files/html5_cef_chrome.user.js

Audio example:
[audio]http://174.132.149.82/files/DJ Roine - Ragnar.mp3[/audio]

Video example:
[video]http://174.132.149.82/files/José González - Heartbeats.mp4[/video]

Flash (embed) example:
[flash]http://174.132.149.82/files/gir_syava_loop.swf[/flash]



player_mp3_mini.swf
 Description:
http://flash-mp3-player.net/players/mini/download/
 Filesize:  2.6 KB
 Viewed:  11232 Time(s)






Last edited by compactwater on Sat Jul 03, 2010 4:25 pm; edited 23 times in total
Back to top
View user's profile Send private message
Anarchy
Expert Cheater
Reputation: 29

Joined: 15 Feb 2009
Posts: 104
Location: There.

PostPosted: Fri Jun 25, 2010 2:19 am    Post subject: Reply with quote

At first?

WHAT ARE YOU TRYING TO DO, KENT?!

D:
Back to top
View user's profile Send private message
sponge cake recipe
Grandmaster Cheater Supreme
Reputation: 22

Joined: 24 Sep 2007
Posts: 1643

PostPosted: Fri Jun 25, 2010 2:21 am    Post subject: Reply with quote

GM script?
also [audio]http://174.132.149.82/files/BoardsOfCanada-DayvanCowboy.mp3[/audio]
<3
Back to top
View user's profile Send private message
the the the
Master Cheater
Reputation: 46

Joined: 15 Jun 2008
Posts: 429

PostPosted: Fri Jun 25, 2010 3:00 am    Post subject: Reply with quote

you can use preview
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Fri Jun 25, 2010 4:29 am    Post subject: Reply with quote

Updated to comply with Firefox's lameness.

Oh, and:
[audio]http://174.132.149.82/files/Bobby McFerrin - Don't Worry, Be Happy.mp3[/audio]
Back to top
View user's profile Send private message
Holland
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2077

PostPosted: Fri Jun 25, 2010 4:34 am    Post subject: Reply with quote

Your songs suck
[audio]http://irule.at/listening/music/Avenged%20Sevenfold/2003%20-%20Waking%20The%20Fallen/06-avenged_sevenfold-eternal_rest-ph.mp3[/audio]
Back to top
View user's profile Send private message
Anarchy
Expert Cheater
Reputation: 29

Joined: 15 Feb 2009
Posts: 104
Location: There.

PostPosted: Fri Jun 25, 2010 6:17 am    Post subject: Reply with quote

Aweshum job, Kent.
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Fri Jun 25, 2010 7:11 am    Post subject: This post has 1 review(s) Reply with quote

works for me(Chrome)
Code:
// ==UserScript==
// @name           HTML5 CEF
// @namespace      http://forum.cheatengine.org/
// @description    Enables MP3s to be used in users' posts.
// @include        http://*.cheatengine.org/viewtopic.php?*
// ==/UserScript==

function getElementByClass(s)
{
   var arr = new Array();
   var temp = document.getElementsByTagName('*');
   for(i in temp)
   {
      if(temp[i].className)
      {
          var sp =temp[i].className.split(' ');
          for (t in sp)
          {
             if(sp[t]==s)
             {
                 arr.push(temp[i]);
             }
          }
      }
   }
   return arr;
}


var posts = getElementByClass("postbody");
for(i in posts)
{
    posts[i].innerHTML=posts[i].innerHTML.replace(/\[audio\](.*)\[\/audio\]/g, '<audio src="$1" controls="controls" preload="auto"/></audio><br /><a href=\"$1\">$1</a>');
}
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Fri Jun 25, 2010 7:21 am    Post subject: Reply with quote

^ Awesome. Very Happy

[audio]http://174.132.149.82/files/Eric Clapton - Layla.mp3[/audio]
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Sat Jul 03, 2010 4:27 pm    Post subject: Reply with quote

Bump with update.

[audio]http://174.132.149.82/files/Dashboard Confessional - Hands Down.mp3[/audio]
Back to top
View user's profile Send private message
Simisage
Grandmaster Cheater
Reputation: 27

Joined: 11 Sep 2008
Posts: 838

PostPosted: Sat Jul 03, 2010 4:28 pm    Post subject: Reply with quote

BALLS OF STEEL wrote:
Your songs suck
[audio]http://irule.at/listening/music/Avenged%20Sevenfold/2003%20-%20Waking%20The%20Fallen/06-avenged_sevenfold-eternal_rest-ph.mp3[/audio]

I got to hang out with A7X for a day with my friend Surprised

_________________

Back to top
View user's profile Send private message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2050

PostPosted: Sat Jul 03, 2010 4:33 pm    Post subject: Reply with quote

only audio works on FF right?
Back to top
View user's profile Send private message MSN Messenger
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Sat Jul 03, 2010 4:41 pm    Post subject: Reply with quote

gogodr wrote:
only audio works on FF right?
Yeah, though I could make it support more than that, just FireFox doesn't support MPEG (mp3, mp4, etc.) so I had to stick with Flash (non-HTML5, too)
Back to top
View user's profile Send private message
Lyfa
The Lonely Man
Reputation: 11

Joined: 02 Nov 2008
Posts: 744

PostPosted: Sat Jul 03, 2010 5:47 pm    Post subject: Reply with quote

Too bad Greasemonkey doesn't work for FF 4 beta
_________________
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Mon Jul 05, 2010 8:46 am    Post subject: Reply with quote

This thread shall now be bump'd.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites