You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2010-03-06 22:36:31
- Lirodon
- Member
- Registered: 2009-01-27
- Posts: 89
oEmbed
So, why require users to have to fumble with BBcode to implement video embedding when we can just do something like Wordpress 2.9 did by adding oEmbed support to the next release?
Offline
#2 2010-03-06 23:03:59
- Franz
- Lead developer

- From: Germany
- Registered: 2008-05-13
- Posts: 3,755
- Website
Re: oEmbed
We don't require anybody to use BBCodes for embedding videos - it's not even in the core. Actually, it would be a pretty interesting idea for a modification that doesn't add the BBCode, but rather uses oEmbed.
Offline
#3 2010-05-04 03:55:48
- Lirodon
- Member
- Registered: 2009-01-27
- Posts: 89
Re: oEmbed
I meant fumble with bbcode as in, fumble around with the parser file in order to add it.
If we had oEmbed built-in, you could enable an option to have it automatically embed like say, a YouTube video, just by posting the url
Offline
#4 2010-07-07 05:59:44
- farid
- Member
- Registered: 2010-07-07
- Posts: 9
Re: oEmbed
This would actually be a great feature!
Any news on weather it will ever get implemented?
Cheers ![]()
Offline
#5 2010-07-07 12:52:41
- FSX
- Developer

- From: NL
- Registered: 2008-05-09
- Posts: 803
- Website
Re: oEmbed
This won't be added to the core.
Offline
#6 2010-07-07 14:20:56
- farid
- Member
- Registered: 2010-07-07
- Posts: 9
Re: oEmbed
This won't be added to the core.
Hi,
Is there a way to embed video in fluxbb? Like a plugin or something?
I need to embed some videos so that we can have a discussion about them.
cheers ![]()
Offline
#7 2010-07-08 05:23:12
- artoodetoo
- Member

- From: Far-Far-Away
- Registered: 2008-05-11
- Posts: 206
Re: oEmbed
You can check [ video ] and [ audio ] implemented in our version
Example: Russian Fluxbb Forum
Distrib: zip
Offline
#8 2010-07-08 14:52:34
- farid
- Member
- Registered: 2010-07-07
- Posts: 9
Re: oEmbed
You can check [ video ] and [ audio ] implemented in our version
Example: Russian Fluxbb Forum
Distrib: zip
Hi, fanstastic!!! This is exactly what i need. Is this a plugin you are using or did you modify the core? Is there a way to install it without having to reinstall my version o fluxbb?
Thanx ![]()
Offline
#9 2010-07-09 07:08:48
- artoodetoo
- Member

- From: Far-Far-Away
- Registered: 2008-05-11
- Posts: 206
Re: oEmbed
It is mod. You can either
- use some visualdiff (WinMerge) to see dozen modified rows in include/parser.php, OR
- replace your parser.php by mine
Offline
#10 2010-09-15 19:54:16
- theamazingcat
- Member

- Registered: 2010-07-10
- Posts: 9
Re: oEmbed
I got an attack site when I went to those links ![]()
Keeping it surreal! http://theamazingcat.com
Offline
#11 2010-09-16 07:15:04
- kg
- Member
- Registered: 2010-07-15
- Posts: 35
Re: oEmbed
Another way to use oembed is to use jQuery and the jquery-oembed plugin. Simply by placing the following code in your viewtopic.php, all links in posts (have to be linked using BBCode) will be replaced by an embedded object:
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.oembed.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.postmsg a').oembed();
});
</script>
<?phpNote that you do have to download the jquery-oembed plugin and install it in your forum root first.
The downside is that this triggers extra HTTP requests when the topic is loaded, since AJAX is used to replace the URLs on the fly. With PHP you could do this only when a user creates/edits a post.
Last edited by kg (2010-09-16 07:28:24)
Offline
#12 2010-09-17 05:42:35
- artoodetoo
- Member

- From: Far-Far-Away
- Registered: 2008-05-11
- Posts: 206
Re: oEmbed
I got an attack site when I went to those links :(
I think Firefox warn you about site, there is a difference. Google put it on black list as attacked via JS :(
It take some time to review.
Offline
Pages: 1
