Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 05, 2009 @ 10:32
    Alec Colebrook-Clark
    0

    Designit Video Embed Package

    Hi,

    I'm aware this is in the wrong section but i couldn't figure out how to create a topic in the project page (The creator disabled the feature?) so I apologise profusely.

    My problem is that i encounter the following error when i try to edit a content node that uses the video embed data type:

     

    The control with ID 'PageVideoLink' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.


    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The control with ID 'PageVideoLink' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

     

    Thanks in Advance

    Alec


  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 05, 2009 @ 10:36
    Alec Colebrook-Clark
    0

    Again sorry, forgot to post umbraco version.

     

    Im using Umbraco Version: 4.0.2.1

     

    Alec

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Aug 05, 2009 @ 16:44
    Simon Dingley
    0

    I would suggest setting the macro not to be rendered in the content editor adn see if that helps.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Aug 05, 2009 @ 16:52
    Peter Dijksterhuis
    0

    You need to add a scriptmanager to your page. Open the template where you have the form-tag and add this:

    <form runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    That should work.
    Peter

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Aug 05, 2009 @ 17:08
    Simon Dingley
    0

    The OP mentioned that the error is thrown in the content editor so I wouldn't have thought that adding the scriptmanager to the template would make any difference? I might be wrong?

  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 05, 2009 @ 17:13
    Alec Colebrook-Clark
    0

    Ive tried the script manager and its the same effect, But the problem is in the content section of umbraco when a load a node using the videoembed data type. Is there some way i can use the form line on that page? and how can i prevent the page from running that marco on the content section?

     

    Thanks for the advice I would be stumped otherwise.

    Alec

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Aug 05, 2009 @ 17:18
    Peter Dijksterhuis
    0

    Right....sorry! I guess it's just too hot for me here to read the posts correctly.....

    Anyway, I just checked the backend, and there should be a scriptmanager present. (I checked in umbraco/masterpages/umbracoPage.Master). I think that is the page that's being used when you edit a page. Can you check if you have a scriptmanager there?

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Aug 05, 2009 @ 22:20
    Simon Dingley
    0

    Alec, have you tried unchecking the 'Render content in editor' checkbox on the macro properties(I am assuming it is a macro?) as I suggested above? That should allow the page to load in the editor.

  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 10, 2009 @ 09:36
    Alec Colebrook-Clark
    0

    Ok there is a script manager on the page (the umbracopage.master) and i havent found any 'render in content editor' checkboxes. The only thing that I can think of is the positioning of the scriptmanager but i just tried that to no avail. Any other ideas?

    again thanks for the help

    Alec

  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 12, 2009 @ 10:22
    Alec Colebrook-Clark
    0

    As a follow up. Ismail has made an edit to the soruce which stops the ajax that shows the video in the backend automatically. The video appears after saving with it. It can be found at http://www.box.net/shared/a2qx7xuine Just copy the .dll into the bin as per usual.

    Thanks for the help anyways!

    Alec

  • Chris Koiak 700 posts 2626 karma points
    Aug 12, 2009 @ 10:30
    Chris Koiak
    1

    "i havent found any 'render in content editor' checkboxes"

    If you go to your macro in the Developer section you will see the checkbox.

    Cheers,

    Chris

  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 12, 2009 @ 10:56
    Alec Colebrook-Clark
    0

    I should also imagine thtat would work, Thank you and apologies for my ignorance

    Alec

  • Josh Reid 182 posts 258 karma points
    Sep 20, 2009 @ 22:42
    Josh Reid
    0

    Hi Guys

    I was wondering if there was any way to pass the embed function custom object/embed parameters?

    It would be great to (for example) make the video wmode='transparent' easily from XSLT without needing to change the compiled code everytime.

    Any thoughts?

    Cheers
    Josh

  • Josh Reid 182 posts 258 karma points
    Sep 20, 2009 @ 22:43
    Josh Reid
    0

    On that note would be great to use swfobject2 to do the embed as well... Saves the click to activate active-x control!

     

  • Josh Reid 182 posts 258 karma points
    Sep 28, 2009 @ 01:25
    Josh Reid
    0

    Has anyone noticed that this package treats the macro/videoWidth as the object height param and macro/videoHeight as the object width param?!

    Seems a little bizarre doesn't it? Would be great to fix this and add the features above as suggested... Would become a very usable package!

Please Sign in or register to post replies

Write your reply to:

Draft