A Flash Developer Resource Site

Results 1 to 16 of 16

Thread: Problem video and Firefox

  1. #1
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34

    Problem video and Firefox

    I have a movie that load in a contentpane a file .swf that contains a video.
    When I reproduce the movie in IE it works perfectly, but the video does not get loaded in Firefox.
    Anybody knows as can it be the problem?

    Thanks
    Pedro

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Not without more information.

    But guessing anyway:
    Since we know that the flash player is most likey not to blame, and that being made in Koolmoves should have to issues. I would imagine it has to do with the HTML tags and most likely you've made a mistake in your <embed> tags somewhere that you did not make in the <object> <param> tags.

  3. #3
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34
    I attach the file and the address where the movie is
    http://pag-per.servicam.com/pedroher/index.html

    Thanks
    Pedro
    Attached Files Attached Files

  4. #4
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    Quote Originally Posted by blanius
    Not without more information.

    But guessing anyway:
    Since we know that the flash player is most likey not to blame, and that being made in Koolmoves should have to issues. I would imagine it has to do with the HTML tags and most likely you've made a mistake in your <embed> tags somewhere that you did not make in the <object> <param> tags.
    source code of html seems to be good... without wmode transparent

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Well I'm scratching my head. The HTML looks fine... Looks like straight from KM.

    I tried loading the swf directly in FF and it doesn't load then either.

  6. #6
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    contentpane7.loadMovie("bataproce.swf");

    Woah! That shouldn't work at all.

    I could be wrong but that is NOT a supported method for a contentpane.

    try using this:
    Quote Originally Posted by from manual
    setContent ( type, source [, transition, transitTime [, clipRect ]] )
    ---------------------------------------------------------------------
    Type Source

    0 text string containing text
    1 html text string containing html text
    2 external text filename of text file
    3 external html text file name of html text file
    4 external graphic file name of swf, gif, png or jpg file
    5 symbol library mc linkage ID of movieclip
    6 symbol library bitmap linkage ID of bitmap
    7 bitmap bitmap

    Transition

    0 Crossfade
    1 Dissolve
    2 Left to right
    3 Top to bottom

    TransitTime

    Value between 0 and 5
    representing the amount of seconds the transition takes
    So for you it would be

    contentpane7.setContent ( 4,"bataproce.swf" , 1, 1 )

  7. #7
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34
    Quote Originally Posted by blanius
    contentpane7.loadMovie("bataproce.swf");

    Woah! That shouldn't work at all.

    I could be wrong but that is NOT a supported method for a contentpane.

    try using this:


    So for you it would be

    contentpane7.setContent ( 4,"bataproce.swf" , 1, 1 )
    Thanks blanius, I have tried this but the same thing happens.

    Thank you very much
    Pedro

  8. #8
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Remove the onLoad constructure you used.
    Just the line Bret gave you. That should work.

    If you don't have to change the content it's easier to set it using the gui.

  9. #9
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34
    Quote Originally Posted by w.brants
    Remove the onLoad constructure you used.
    Just the line Bret gave you. That should work.

    If you don't have to change the content it's easier to set it using the gui.
    Thanks w. brants but it's the same, Firefox doesn't load video.
    I will try to do another thing

    Thanks
    Pedro

  10. #10
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    There is no reason this should not work. I don't reccomend using swf for videos though FLV is SOOOO much better suited for this.

  11. #11
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34
    I have solved the problem using the command loadMovie. Now, the problem is other:
    The Web that I do has some videos, when the first video gets loaded there are no problems but when the second video loads the sound itself he gets up to the full and it seems like two videos had gotten loaded at the same time

    Thanks
    Pedro

  12. #12
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    maybe try to unLoad all movies before loading new movie

  13. #13
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34
    I do it
    A button that unloads the movie exists

  14. #14
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    try unLoad ALL movies, this would help...

  15. #15
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Still say you are fixing an imagined problem. What are you trying to do?

  16. #16
    Member
    Join Date
    May 2006
    Location
    Villajoyosa-Alicante (Spain)
    Posts
    34
    I have resolved the problem loading the movie in a clip with command loadMovie

    loadMovie("guancerrado.swf","mc16");

    Thanks
    Pedro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center