Bug in embeded video link generation
-
Hi,
I am using Forever theme with WP4.3.5 and have uploaded an MP4 as media.
I would like to add it to a post with embedded media player.However the post page does not work and the media player tells me “Error loading this resource”.
I have checked different solutions posted here, but none work in my case:
– check the .htaccess file
– regenerate the mp4 with a different converterBut the embedded video does work in the attachment page.
So this made me think the problem is with the post page specifically.
Comparing the HTML source of the Attachment page and the Post page I notice that the src argument of the source tag is wrong in the Post page.In the Attachment page it is:
src=”https://khodabandeh.photos/mamen&arash/wp-content/uploads/VID-20160720-WA0001-2.mp4?_=1“In the Post page it is:
src=”https://khodabandeh.photos/mamen&?_=1#038;arash/wp-content/uploads/VID-20160720-WA0001-2.mp4″As you notice the generator wants to add a “_=1” to the src url.
It does it correctly in the Attachment page.
But it adds it in the middle of the url in the Post page.
So of course nothing works!The problem can come from the fact that my url contains an & and this confuses the engine.
Does anyone has seen this before?
Any solution? Or post-generation hack to fix the generated link?Many thanks for your helps.
- The topic ‘Bug in embeded video link generation’ is closed to new replies.