Copied to clipboard

Flag this post as spam?

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


  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Jan 12, 2009 @ 12:00
    Scott Hugh Alexandar Petersen
    0

    Embedded media and w3c standard

    Hey guys,

    I've got 2 questions:

    1. When I use the Insert / edit embedded media button in the rich text editor and then validate my page afterwards with http://validator.w3.org/ then it gives me 5 errors (inserting a flash file).

    So what am I to do? Remove the Insert / edit embedded media button and create macros or what do you suggest?

    2. Another thing is that the swf file does not resize to the size that I want.. Why not?

    Thank you

  • Ruben Verborgh 379 posts 30 karma points
    Jan 14, 2009 @ 14:51
    Ruben Verborgh
    0

    Hi Scott,

    For Flash, I use an XSLT macro which takes 3 parameters: filename, width, height. This macro then outputs a script reference at run time (SWFObject) which displays the Flash object. Validates perfectly.

    Cheers,

    Ruben

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Jan 14, 2009 @ 15:08
    Scott Hugh Alexandar Petersen
    0

    Yeah I have one of them as well - but as it is part of the RichTextEditor I thought it might be much more convenient to do it that way for a user.

    Thanks for your reply.

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Jan 15, 2009 @ 10:18
    Scott Hugh Alexandar Petersen
    0

    I actually found a way - as this is generated in JS in the config file, under plugins then I can just edit that text so it outputs the script that I want.

    Thank you all.

  • 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.

Please Sign in or register to post replies