Easy Video Player Code Wrecked by Visual Editor?

by 11 replies
13
Easy Video Player embed code is altered just by opening it in the Visual Editor on Wordpress. When it is corrupted, I have to go back to EVP and retrieve the code and place it back on the page fresh - in the HTML mode.

Does anyone know a workaround to this?

I'm using Woo Themes Headlines theme - which has a video embed box - works fine for YouTube but won't display the EVP code as video.

I looked at some flow player plugins but there are like 20 - and I can't figure out what would put a box on my post/page editor that I can put the embed code in without it being tampered with by the editor later?

Thanks for your help,
Rick
#website design #code #easy #editor #player #video #visual #wrecked
  • yes, disable the visual editor by going to your profile page and then if you need to preview your work just use the preview link of the post or page you're creating/editing
  • Or you could use the Raw-HTML plugin that I've used for a while. I reviewed it here:

    http://www.wealthydragon.com/blog/20...ordpress-html/

    Cheers,

    Martin.
    • [1] reply
    • Thanks Karen - but, yes, I know that opening the post or page in the Visual editor is what wrecks the code - that's what is frustrating - if you accidentally have been looking at something else and open a post with video BOOM it's destroyed - keeping a txt file with the video codes I need for a sales blog is exhausting.

      (Why doesn't Easy Video Player guy have a smart work-around for this or at least WARN customers who buy his otherwise dandy product?)

      Must be a common customer complaint?

      Martin - I'm going to check out your plugin.

      I'm using the Woo Themes Headlines theme - which is great for adding Youtube type videos in a box they add to the post/page edit screen but Easy Video Player wont' work in it.

      Thanks again!

      rick
      • [2] replies
  • While I don't know how many videos you want to post to your site, here is a way to use "shortcodes" to insert the video into the visual editor (without any code breaking).

    Insert the following code into your "functions.php" file (replace the comment with your video embed code):

    Code:
    <?php function easyVideoPlayer() {?>
    
    <!--INSERT YOUR EASY VIDEO PLAYER CODE HERE-->
    
    <?php } add_shortcode('easy_video_player', 'easyVideoPlayer');?>
    Now, insert the following short code into your post/page to display the video:

    Code:
    [easy_video_player]
  • If you would rather use a Flowplayer Wordpress plugin, the following one uses shortcodes:

    Flowplayer for Wordpress (v. 2.0.9.9)
  • Its doing that to me on specific HTML like nbsp, and some tables and other code. Like suggested just disable it and preview in the browser. Its annoying that is for sure!
  • I just released a WordPress plugin that works with both the WordPress Visual Editor and the HTML Editor. Do a search for "EasyVideoPlayer" in the WP plugin directory and check it out!
    • [1] reply

    • If you have Easy video player 2.0 the wp plugin is i the member area and it works very well and it is easy to slap in the code.

      The only big problem I have with EVP at the moment is that I can't seem to get it work with Google video sitemap plugin (by Mark Dulisse) very well. Can anyone help share their experiences?

Next Topics on Trending Feed