2022-01-06, 08:47 PM
(This post was last modified: 2022-01-06, 09:06 PM by adrek. Edited 2 times in total.)
thanks for quick update 
I have also installed DVZ Shoutbox and I noticed now that if user posts YT URL it shows up empty message there - this would be also Simple Audito Video Embeder fault or Shoutbox?
error code is (I think) the same
----
I used your code in Shoutbox code where message is parsed and video works now in SB messages

I have also installed DVZ Shoutbox and I noticed now that if user posts YT URL it shows up empty message there - this would be also Simple Audito Video Embeder fault or Shoutbox?
error code is (I think) the same
<error>
<dateline>1641502572</dateline>
<script>inc/class_parser.php</script>
<line>2049</line>
<type>512</type>
<friendly_type>User Warning</friendly_type>
<message>Parser output validation failed.
array (
'sourceHtmlEntities' => 'Muszę to zapodać https://youtu.be/0rnWkENbVK4',
'outputHtmlEntities' => 'Muszę to zapodać <iframe width="640" height="385" src="//www.youtube.com/embed/0rnWkENbVK4?fs=1&start=" frameborder="0" allowfullscreen="true"></iframe>',
'errors' =>
array (
0 =>
LibXMLError::__set_state(array(
'level' => 3,
'code' => 23,
'column' => 112,
'message' => 'EntityRef: expecting \';\'
',
'file' => '',
'line' => 1,
)),
),
)</message>
<back_trace>#0 errorHandler->error() called at [/inc/class_parser.php:2049]
#1 postParser->validate_output() called at [/inc/class_parser.php:1990]
#2 postParser->output_allowed() called at [/inc/class_parser.php:284]
#3 postParser->parse_message() called at [/inc/plugins/dvz_shoutbox.php:1368]
#4 dvz_shoutbox::parse() called at [/inc/plugins/dvz_shoutbox.php:1297]
#5 dvz_shoutbox::render_shout() called at [/inc/plugins/dvz_shoutbox.php:820]
#6 dvz_shoutbox::load_window() called at [/inc/class_plugins.php:136]
#7 pluginSystem->run_hooks() called at [/index.php:466]
</back_trace>
</error>
----
I used your code in Shoutbox code where message is parsed and video works now in SB messages