HTML code delete in post

Posted in: Newsmag
Post count: 199

Hi, if I insert this code into a post (video player) and the post code is as a compromise. This is the original.

<div id=”eplayerHolder” style=”width:610px; height:544px; margin:0 auto;”><div id=’perf1iynwey0z7ykt138tjnz8w9220-1c30qu5lpggg019yij70ng1jq5′> Get Adobe Flash player</div> <script type=’text/javascript’ src=’http://static.eplayer.performgroup.com/flash/js/swfobject.js’></script><script type=’text/javascript’ src=’http://static.eplayer.performgroup.com/flash/js/performgroup.js’></script><script type=’text/javascript’>addCustomPlayer(‘1iynwey0z7ykt138tjnz8w9220′, ’94c778ea-aee8-1ae1-e044-00212836b646’, ‘1c30qu5lpggg019yij70ng1jq5’, 610, 544, ‘perf1iynwey0z7ykt138tjnz8w9220-1c30qu5lpggg019yij70ng1jq5’, ‘eplayer14′, {age:1413290845000});</script></div>

This is like me return it after publication.

<div id=”eplayerHolder” style=”width:960px;height:760px;margin:0 auto”><div id=’perf1779sr0s5hgvf1ufmyvv7qbj64-1c30qu5lpggg019yij70ng1jq5’> Get Adobe Flash player</div> addCustomPlayer(‘1779sr0s5hgvf1ufmyvv7qbj64′, ’94c778ea-aee8-1ae1-e044-00212836b646’, ‘1c30qu5lpggg019yij70ng1jq5’, 960, 760, ‘perf1779sr0s5hgvf1ufmyvv7qbj64-1c30qu5lpggg019yij70ng1jq5’, ‘eplayer16’, {age:1427126197000});</div>

How can I fix?

Post count: 6600

Hi,

Please use http://pastebin.com/ and send both codes so I can also test this.

Thanks

Post count: 199
Post count: 7909

Hi,

I also tested your code and this is the result: http://screencast.com/t/j36mmlWLA1http://screencast.com/t/oDgQucPcy
Where did you added the the code?

Thanks!

Post count: 199

It should come out of a player, instead just the post is so -> https://dl.dropboxusercontent.com/u/22334399/Schermata%202015-03-25%20alle%2011.07.58.png

Post count: 7909

Hi,

Please paste your code in text html editor like in above screenshot: http://screencast.com/t/QrA51aNm
Also try to change the single quote sign ' to " for classes and id’s and if like this works. You can see my result above if that is ok it should work also in your case.

Thanks!

Post count: 199

Done but it doesn’t work. Just save the post we change the code so -> https://dl.dropboxusercontent.com/u/22334399/Schermata%202015-03-25%20alle%2014.29.04.png

Post count: 6600

Hi,

I’ve also tried your code it worked somehow, not sure how it supposed to work but it added this on the post: http://screencast.com/t/9dd0tgw58C
Makes sure you also add the code in the text area in backend, like this: http://screencast.com/t/pFJEzlRLQJb
If still doesn’t work try without plugins and also test using a WordPress default theme, and empty caches.

The embed feature is not controlled by the theme in anyway and that function comes from WordPress. I did some research on this and found this list of supported embedded players but seems that the eplayer is not on that list: https://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F
I suggest you also try a plugin and you could try this one: https://wordpress.org/plugins/sportspress-tv/

Thanks

Post count: 199

I also blocks iframes, like this-> http://pastebin.com/vKQQkb0X

Is a video player. If I put it in the post and save, disappears.

Post count: 6600

Hi,

Could be due to your plugins then. I suggest you test without using any and empty caches.

Thanks

  • This reply was modified 11 years by Lucian.
Post count: 199

It is not a plugin…..Is an iframe.

Post count: 199

Does it disappear all the iframe that you put in the post. All.

Post count: 6600

Hi,

Not sure what you mean, I’ve tested this and provided the results above.
Please give us wp-access so we can have a closer look. Send you wp-admin login credentials at contact@tagdiv.com and also paste a link to this conversation in your message.

Thanks

Post count: 199

I fixed it, it was a question of powers. I entered this in function.php to resolve -> http://pastebin.com/qXJnsDyt

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newsmag’ is closed to new topics and replies.