Easy Video Player Code Wrecked by Visual Editor?

11 replies
  • WEB DESIGN
  • |
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
#code #easy #editor #player #video #visual #wrecked
  • Profile picture of the author Karen Blundell
    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
    Signature
    ---------------
    {{ DiscussionBoard.errors[2309971].message }}
  • Profile picture of the author Abledragon
    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.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[2310239].message }}
    • Profile picture of the author Rick_Butts
      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
      {{ DiscussionBoard.errors[2326215].message }}
      • Profile picture of the author nmarley
        Rick,

        In the WordPress admin screen, click the "Users" menu and click on your username. There should be a "disable visual editor" option at the top of the page.

        Check it, and then you can edit your post(s)/page(s) without the visual editor messing things up for you.
        {{ DiscussionBoard.errors[2326247].message }}
      • Profile picture of the author Rick_Butts
        maybe I'm doing something wrong - but I installed the Raw HTML thing - and activated the plugin - and opened my post in the HTML editor - wrapped the Easy Video Player script in the code - saved it.

        then opened it in the Visual editor - and it instantly destroyed the code by adding the CDATA // crap to it - and reformatting the code

        Darn you Not So Easy Video Player!

        This was never a problem when I was using Amazon EZS3
        {{ DiscussionBoard.errors[2326341].message }}
        • Profile picture of the author Rick_Butts
          Thanks NMarley -

          the problem is - I like using the visual editor - I'm not a notepad HTML guy

          WP remembers the way you had the last post/page open - and opens the next thing up that way too - so I get hammered by accident - or my own mess up

          The problem here is EVP won't cooperate with WP - or allow it's code to run when entered as a Custom Field
          {{ DiscussionBoard.errors[2326345].message }}
  • 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]
    {{ DiscussionBoard.errors[2326724].message }}
  • If you would rather use a Flowplayer Wordpress plugin, the following one uses shortcodes:

    Flowplayer for Wordpress (v. 2.0.9.9)
    {{ DiscussionBoard.errors[2326728].message }}
  • Profile picture of the author ApaOps5
    Originally Posted by Rick_Butts View Post

    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
    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!
    {{ DiscussionBoard.errors[2326740].message }}
  • Profile picture of the author Zack Katz
    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!
    {{ DiscussionBoard.errors[2871877].message }}
    • Profile picture of the author Pindich
      Originally Posted by Zack Katz View Post

      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!

      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?
      Signature
      Could This IM Magazine Be Just What We Have Been Missing In The Industry?

      For Marketers Who Want To Take Action But Just Can't Start! Click Here
      {{ DiscussionBoard.errors[3039077].message }}

Trending Topics