Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Flash video does not work unless the width and height parameters are present.

  • 1 απάντηση
  • 13 έχουν αυτό το πρόβλημα
  • 14 προβολές
  • Τελευταία απάντηση από cor-el

more options

I have HTML code that displays a flash video using the "object" tag.

When the tag has the width and height parameters, the video plays.

However, when those parameters are missing, the video does NOT play.

In IE, Chrome and Safari, the video plays without those parameters having to be specified. Only Firefox seems to "require" them.

Seems like the flash video should play with or without the size parameters.

I have HTML code that displays a flash video using the "object" tag. When the tag has the width and height parameters, the video plays. However, when those parameters are missing, the video does NOT play. In IE, Chrome and Safari, the video plays without those parameters having to be specified. Only Firefox seems to "require" them. Seems like the flash video should play with or without the size parameters.

Όλες οι απαντήσεις (1)

more options

The DOM Inspector shows a height:0 and width:0 with that code , so that video is hidden.

If you use an object without a classid like you posted then you do not need the embed code that you posted.
The object code with a type and data is sufficient for Firefox and should work in all browsers.


A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.

The helpers at that forum are more knowledgeable about web development issues.

You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25