1 honorgate Oct 09, 2005 20:40
3 marcscrookedfinger Oct 13, 2005 22:44
Would it be too much to ask to have you show me how to change the formating.php file to accept the <object> class? Please?!
Thanks in advance...
4 personman Oct 13, 2005 22:57
The easiest thing would be for you to just download this file, remove the .txt from the end of the filename and replace your current _formatting.php file with it:
http://www.brendoman.com/b2e/conf/_formatting.php.txt
If decide to use youtube.com, here's the code I put in to show the movie player in a post.
<div style="text-align:center"><object type="application/x-shockwave-flash" style="width:425px; height:350px" data="http://www.youtube.com/v/[your video id here]"><param name="movie" value="http://www.youtube.com/v/[your video id here]"></param></object></div>
Of course, you'll want to replace [your video id here] with the id of the video that you want to show. The id is the random-looking bunch of letters and number in the url of the video. This trick can be used for videos that you upload or just any YouTube video that you find and want to post on your blog.
5 honorgate Oct 15, 2005 00:11
Yes it's working perfectly ! Thanxs.
(Just be careful to place add lines inside the last folder _formatting.php)
6 disgruntled Jan 15, 2006 22:26
personman wrote:
The easiest thing would be for you to just download this file, remove the .txt from the end of the filename and replace your current _formatting.php file with it:
Do you know if it's possible to embed a video without using flash? For instance is it possible to embed the wmp? If so what would be required.
Thxs
7 personman Jan 15, 2006 23:29
WMP? I think I just threw up a little. :lol:
I'm a Mac / Linux user and I try to stay away from WMP as much as possible. [url=http://www.google.com/search?q=embed+wmp]This[/url] should help you find the code you need. Then the easiest way to get around the html checker is using a renderer plugin. That's what I did with my youtube plugin. It wouldn't be hard to adapt that same method for any kind of code that the html checker doesn't like.
8 disgruntled Jan 15, 2006 23:40
personman wrote:
WMP? I think I just threw up a little. :lol:
Yeah I throw up everytime something only works with a Mac which accounts for what maybe 1% of all the computers world-wide. Talk about elitist :lol:
I know how to embed WMP just not in b2evolution. Example: http://www.awsv.com/bL0Q5MC5.htm
9 ephender May 16, 2006 00:37
personman wrote:
The easiest thing would be for you to just download this file, remove the .txt from the end of the filename and replace your current _formatting.php file with it:
This file doesn't appear to be up any longer. Is it possible for you to repost it or provide a link to whatever the new one would look like. I used this before and now that I've updated to 0.9.1b, I need to know this code again.
10 personman May 16, 2006 15:12
11 ephender May 16, 2006 23:00
Thank you much.
12 personman May 16, 2006 23:00
My pleasure.
13 bhbase99 Jun 20, 2006 02:55
I know this is kind of late, but I can't get this to work. I copied the code from the txt file and put in into my conf/_formatting.php file, but when I go to my blog I get this error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/icecolde/public_html/blog/conf/_formatting.php on line 2
Parse error: parse error, unexpected T_STRING in /home/icecolde/public_html/blog/conf/_formatting.php on line 2
Any idea why this is happening?
Thanks
EDIT: I know the problem. I'm using a realy old version of the blog.
14 personman Jun 20, 2006 14:48
Ah, I see. 0.9.2 is the recommended version, so upgrade to that and try it.
15 fr3n Jun 20, 2006 15:45
thanks alot for this, works like a charm!
16 azrin Nov 11, 2006 17:32
it also works with PhotoPost PhpPro ..where you can internally upload yr own videos to yr site.
I did it earlier on ... http://athira.net
I put movies right into posts using the flash player provided by yourtube.com. The only change I had to make to b2evolution was to allow the object tag in /conf/_formatting.php. Then I just paste the right code into the post and the video shows up. I can tell you more if you're interested. Here's what it looks like in action:
http://www.brendoman.com/dbc?cat=270