Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi to all, I have a visualization problem in backoffice after the upgrade from v4.7 to 7.5...I go to explain.
There are nodes that in RTE render a macro that show a youtube video.
I found different behaviors between old v4.7 rendered code and the code generated in v7.5
This is the old v4.7 "Insert Macro" rendered code:
<div class="umb-macro-holder mceNonEditable loading"> <!-- <?UMBRACO_MACRO videoID="ooOxX0xO0OO" macroAlias="youTubeCustomPlayer" /> --> <ins>Macro alias: <strong>youTubeCustomPlayer</strong></ins> </div>
This generate a JS error and I not see the video in (see attach)
Now...if I try to insert the same macro (now I am in v7.5), I notice that the rendered code is very different:
<div class="umb-macro-holder youTubeCustomPlayer mceNonEditable umb-macro-mce_0"> <!-- <?UMBRACO_MACRO macroAlias="youTubeCustomPlayer" videID="ooOxX0xO0OO" /> --> <ins> <div id="BO_YTCPytplayerooOxX0xO0OO"> <iframe src="https://www.youtube.com/embed/ooOxX0xO0OO?rel=0&enablejsapi=1&idgetid=1" frameborder="0" width="426" height="240"></iframe> </div> <div id="YTCPytplayerooOxX0xO0OO" class="center-block"></div> <script>// <![CDATA[ if ((typeof ytPlayerInfoList === 'undefined') || (ytPlayerInfoList === null)) { $("#YTCPytplayerooOxX0xO0OO").remove(); } else { ytPlayerInfoList.push({id:'YTCPytplayerooOxX0xO0OO',width:'853',height:'480',videoId:'ooOxX0xO0OO',rel:'0'}); $("#BO_YTCPytplayerooOxX0xO0OO").remove(); } // ]]></script> </ins> </div>
The generated code correctly displays the video (see Attach)
There is a quick way to auto update all nodes with old code, to the newer version?
The number of nodes to manually update would be too high.
I tried to find the solution in the forum and in internet but I haven't found it.
Thank you for the support Adriano
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Problem after upgrade Umbraco from 4.7 to 7.5. Inserted macros in RTE, no longer work
Hi to all, I have a visualization problem in backoffice after the upgrade from v4.7 to 7.5...I go to explain.
There are nodes that in RTE render a macro that show a youtube video.
I found different behaviors between old v4.7 rendered code and the code generated in v7.5
This is the old v4.7 "Insert Macro" rendered code:
This generate a JS error and I not see the video in (see attach)
Now...if I try to insert the same macro (now I am in v7.5), I notice that the rendered code is very different:
The generated code correctly displays the video (see Attach)
There is a quick way to auto update all nodes with old code, to the newer version?
The number of nodes to manually update would be too high.
I tried to find the solution in the forum and in internet but I haven't found it.
Thank you for the support Adriano
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion