Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-04-2007, 07:42 AM   #1
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
Problems adding embedded video to wordpress posts?

I haven't used embedded video on my blogs before but I just tried to do it with two of the sponsors that offer it. Whenever I copy the code into the html editing area and then hit 'update' the embedded part of the code vanishes.

What am I doing wrong?
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 08:47 AM   #2
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
nobody uses embedded video on their blogs?
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 08:48 AM   #3
Grapesoda
So Fucking Banned
 
Industry Role:
Join Date: Jul 2003
Location: Montana
Posts: 46,238
works okay for me from youtube
Grapesoda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 08:58 AM   #4
MikeB
Confirmed User
 
Join Date: Feb 2002
Posts: 2,012
You can use this plugin:

http://www.viper007bond.com/wordpres...deo-quicktags/


You can do it without the plugin. You'll have to disable the visual editor when writing.
MikeB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 09:14 AM   #5
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
ah...okay so the editor is messing it up....thanks for the plugin
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 09:20 AM   #6
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Quote:
Originally Posted by Sarah_MaxCash View Post
ah...okay so the editor is messing it up....thanks for the plugin
Disabling editor want help. There is a piece of code you need to hack in order to imbed videos.
This only goes for the new versions of WP. I am not sure how it?s with the older versions?
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 10:05 AM   #7
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
I don't use the very newest because I don't like it...I use the last version of the previous one (if that makes any sense).
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 10:56 AM   #8
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Quote:
Originally Posted by Sarah_MaxCash View Post
I don't use the very newest because I don't like it...I use the last version of the previous one (if that makes any sense).
OK, I am not sure if disabling editor would do it. If it's still not working and you don't want to use plugin, I can show you what you need to change in the code.
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 11:08 AM   #9
starpimps
Confirmed User
 
Join Date: Sep 2006
Location: internets
Posts: 6,954
yeah sarah the last version screwed up the vide embeds, wordpress 2.1 is okay with it but you cannot edit the post or the video will disappear again...disabling the visual editor should do the trick as said before in with your version of wordpress
__________________
Teen Porn Models / Solo Girls
starpimps is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 11:11 AM   #10
tenderobject
Need Designs? 312352846
 
Industry Role:
Join Date: Dec 2004
Location: Somewhere
Posts: 11,684
i did have roblem embedding flv in 1.5.2 wp. any plugins doesn;t work dunno why thats why i just make the flv iframed so it would work.
__________________


NEED DESIGNS?!?
tenderobject is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 11:25 AM   #11
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
Quote:
Originally Posted by donnie View Post
OK, I am not sure if disabling editor would do it. If it's still not working and you don't want to use plugin, I can show you what you need to change in the code.
I'd appreciate it if you could post that. I need to modify about 60 installations on a new blog network
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 11:33 AM   #12
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
WP uses filters and you can read about it here:

http://codex.wordpress.org/Filters

To embed videos you need to make this change:

add_filter('content_save_pre', 'wp_filter_post_kses');
to
remove_filter('content_save_pre', 'wp_filter_post_kses');

You do this in kses.php

BUT there is a security risk in doing this. Read more at the URL above...
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 11:36 AM   #13
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
What I posted above will simply make WP post all tags you want to post and not remove them. If you are the only one using the WP install there is no problem turning filter off. If you are using WPMU and you are letting other people sign up and create blogs I wouldn't recommend doing it
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 11:57 AM   #14
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
does that plugin do that for me?
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:14 PM   #15
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Quote:
Originally Posted by Sarah_MaxCash View Post
does that plugin do that for me?
What plugin do you want to use?? I haven't found any good plugin for embedding videos but I haven't really been looking. Plugin will probably solve the problem. It probably won?t turn filters off but plugins usually work somehow
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:17 PM   #16
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
Somebody earlier in the thread linked to
http://www.viper007bond.com/wordpres...deo-quicktags/
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:21 PM   #17
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
Thanks Donnie!

Quote:
Originally Posted by donnie View Post
WP uses filters and you can read about it here:

http://codex.wordpress.org/Filters

To embed videos you need to make this change:

add_filter('content_save_pre', 'wp_filter_post_kses');
to
remove_filter('content_save_pre', 'wp_filter_post_kses');

You do this in kses.php

BUT there is a security risk in doing this. Read more at the URL above...
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:21 PM   #18
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Quote:
Originally Posted by Sarah_MaxCash View Post
Somebody earlier in the thread linked to
http://www.viper007bond.com/wordpres...deo-quicktags/
You want to use videos from your own/sponsor host right??

That plugin will only play videos from Youtube, Myspace, googlevideo...

I am pretty sure you can't use your own files with it. But i could be wrong...
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:21 PM   #19
ucv.karl
Confirmed User
 
Join Date: Jul 2006
Location: Phx,Az
Posts: 498
It works fine for us.

http://blog.upperclassvideo.com/?p=172

Perhaps we're doing something different that what you are trying to accomplish.

(we're using the 'old' version 1.x wordpress)

Also, when you are entering direct html, (I believe wp) modifies/alters the contents to make sure that it's valid html. Therefore, you're Rss feed and blog will be valid html. (But, I could be wrong about this)
__________________
It's better when you can Switch.
ICQ: 263079754
ucv.karl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:39 PM   #20
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Quote:
Originally Posted by ucv.karl View Post
It works fine for us.

http://blog.upperclassvideo.com/?p=172

Perhaps we're doing something different that what you are trying to accomplish.

(we're using the 'old' version 1.x wordpress)

Also, when you are entering direct html, (I believe wp) modifies/alters the contents to make sure that it's valid html. Therefore, you're Rss feed and blog will be valid html. (But, I could be wrong about this)
I believe it works fine with older versions but not with the new one. It has something to do with security issues when embedding videos. I have only read about this because it didn't work for me and I had to find a solution. But I am not a coder and I don?t really know why it sometimes works and sometimes it doesn?t
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 12:51 PM   #21
Sarah_Jayne
Now with more Jayne
 
Sarah_Jayne's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Los Angeles
Posts: 40,077
Quote:
Originally Posted by donnie View Post
You want to use videos from your own/sponsor host right??

That plugin will only play videos from Youtube, Myspace, googlevideo...

I am pretty sure you can't use your own files with it. But i could be wrong...
embedded videos that sponsors offer..not actual video files
Sarah_Jayne is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2007, 01:18 PM   #22
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Quote:
Originally Posted by Sarah_MaxCash View Post
embedded videos that sponsors offer..not actual video files
I am not the right person to answer this question because I am not a coder or something like that. If you want to use your own player for .flv files you will need to change those lines inside the code. And the plugin posted above want help you. Maybe somebody more qualified can help you with an easier solution I don't even use spnsor videos. We only use our own files on our blogs...
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.