I am trying to:
Edit a post body in a cred form from within a view loop, i.e. the cred form shortcode resides inside a view.
I upload an mp4 via Add media. The following shortcode is inserted in the Wysiwyg editor:
[video width="1080" height="608" mp4="**************.mp4"][/video]
I save the post: the video player works as expected.
Then I edit the same post with a cred form. Tthe WordPress video shortcode is not displayed anymore in the Wysiwyg editor field. Instead: the shortcode seems to be rendered as html, resulting in the following code:
<div class="wp-video" style="width: 1170px;">
<!-- [if lt IE 9]>document.createElement('video');<![endif]-->
<div class="wp-video" style="width: 1170px;">
<!-- [if lt IE 9]>document.createElement('video');<![endif]-->
<div class="wp-video" style="width: 1080px;"><!-- [if lt IE 9]><script>document.createElement('video');</script><![endif]-->
<video id="video-627-1" class="wp-video-shortcode" preload="metadata" controls="controls" width="1080" height="608"><source type="video/mp4" src="***.mp4?_=1" />***.mp4</video></div>
</div>
</div>
If I save the post with this new code inside it, the post is displayed again with the video player, however the player does not function anymore: it does not repond to click events.
It seems that when creating the cred form and rendering the post body inside the wysiwyg field, the standard video shortcode of wordpress is rendered as html inside the editor instead of the raw (unfiltered) shortcode. Saving this rendered html breaks the player...
We have reproduced this issue on our dev environment, with all latest versions of toolset plugins.
I hope you will be able to reproduce and fix this issue?
Thanks in advance!