This class allows you to indicate that one of the movie should be based on the user’s Internet connection speed.
The data rate selector compares the specified rate against the connection speed specified in the QuickTime Control Panel or the Connection Speed options in the QuickTime Plugin Settings dialog (both panels modify the same setting, so a change in one affects both). If no movie matches the user’s specified setting, then the movie with the highest data rate that is less than the user’s setting will be used. If there are no movies with data rates less than the user’s setting, then the movie with the lowest data rate will be used.
→
The QTPlgAltDataRate class constructors are called when you create a new instance of the class, while the ˜QTPlgAltDataRate class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
The class provides you with the following initializer methods:
()
This is the default constructor. The property is set to the default
value of the constant
(speed as integer)
The property is set to the value specified by the
speed parameter
(other as QTPlgAltDataRate)
This is the copy constructor. The of the object to be copied
will be used to initialize the new class instance
specifies the requested value of the user’s connection to the Internet. You can use one of the
constants defined by the plugin