Synchronized Multimedia Integration Language (SMIL) Interview Questions & Answers

  1. Question 1. What Is Smil?

    Answer :

    • SMIL stands for Synchronized Multimedia Integration Language.
    • SMIL is an XML-based language which allows to write interactive multimedia presentations.
    • It is easy to describe the layout on spatial layout.
    • It has features to set the timings of the presentation.
    • The presentations can be synchronized with a specific time.
  2. Question 2. What Is The Use Of Smil?

    Answer :

    SMIL is used for the following purposes:

    • To create internet presentations.
    • To represent presentations with multiple file types.
    • Many files can displayed at the same time.
    • Multiple web servers can display SMIL presentations
    • SMIL contains action button to control the presentations.
    • SMIL has functions to set the duration and the sequence of the presentation.
  3. XML Interview Questions

  4. Question 3. Give An Example Of Smil File?

    Answer :

    • SMIL files are written using a text editor.
    • A compatible SMIL player is needed such as Ambulant Player.
    • SMIL have, and tags.
    • tag is used specify the size and background color of the presentation.

    Following code snippet is an example of SMIL:



    open=”whenActive” close=”whenNotActive”/>
     

  5. Question 4. Explain About Smil Code Writing In Html?

    Answer :

    • The HTML+SMIL profile allows to integrate a subset of SMIL specification with HTML.
    • It has SMIL modules for supporting animation, objects, content control, and timing.
    • SMIL features are directly integrated with HTML and CSS.
    •  SMIL can be used to manipulate HTML and CSS features.
    • SMIL modules can be implemented using document definition and / or schema
  6. XML Tutorial

  7. Question 5. How To Add References In Smil?

    Answer :

    A time namespace should be defined to use SMIL in HTML.

    The process is:

    1. Add element in tag definition to add time name space.
    2.  Define a ‘time’ class to add SMIL attributes to standard HTML elements.
    3. This is done by
    4. To define the class “time” add a
  8. HTML Interview Questions

  9. Question 6. How To Add Smil Elements?

    Answer :

    • Add a prefix and class attribute to the SMIL elements.
    • This executes SMIL presentation in HTML.

    Following example perform the task:


    image1
    image2

  10. Question 7. Explain About Xhtml + Smil?

    Answer :

    • The integration of XHTML and SMIL allows to write valid XHTML code.
    • Timing, animation, transition can be added to the web pages.
    • The layout functionality is provided by XHTML / CSS
    • The linking module functionality is provided by XHTML 
    • The XHTML is the host language for providing structure module for SMIL.
    • Meta information is also available with XHTML.
    • The above modules are integrated by XHTML in SMIL.
  11. HTML Tutorial
    HTML 5 Interview Questions

  12. Question 8. What Is Use Of Clipbegin And Clipend?

    Answer :

    • Internal timing marks to playback begin and end is specified by clipBegin and clipEnd attributes of a clip.
    • These attributes allows to play a part of a clip which has an internal timeline, like video/audio.
    • Static or group clips will not be effected by clipBegin and clipEnd attributes.
    • Following is an example :
    • In the above example, the clip starts playing at 10 second mark and ends when it reaches 50 seconds. The total play is for 40 seconds.
  13. Question 9. How To Specify The Duration?

    Answer :

    • The dur attribute is used to specify the time span for the clip / image.
    • Following example plays the clip for 40 seconds.
    • When the duration of the video is less than 40 seconds, the last frame of the video appears frozen on the screen, until the duration elapses.
    • The duration can be specified by number of minutes also.
    • Following example specifies the image to appear for 5 minutes onscreen.
      myimage
  14. MULTIMEDIA Interview Questions

  15. Question 10. List The Smil Timing Elements And Attributes?

    Answer :

    SMIL timing Elements:

    • Specifies elements that are to be exclusively displayed 
    • Specifies elements that are to be displayed in parallel 
    • Specifies elements that are to be displayed in a sequence 

    SMIL timing Attributes:

    • begin - Specifies the delay before the display of the element 
    • dur - Specifies the duration for the display 
    • endsync - Synchronizes the stopping of parallel elements 
    • repeatCount - Specifies the number of repetitions for the display
  16. HTML 5 Tutorial

  17. Question 11. What Are The Media Elements In Smil?

    Answer :

    Following are the SMIL Media Elements:

    • - Element for an animation 
    • - Element for a brush 
    • - Element for an image 
    • - Element for a parameter
    • - Element for a generic media reference 
    • - Element for a text 
    • - Element for a textstream 
  18. MySQL Interview Questions

  19. Question 12. What Is Transition Effect?

    Answer :

    • Time transition occurs, once the clip starts or stops playing.
    • The clip appears when it starts playing, while not using trasition effect.
    • Based on the fill attribute, it disappears when the clip stops playing.
    • Transition effects makes the transition visually compels.
    • The clip may fade from a solid color.
  20. XML Interview Questions

  21. Question 13. Describe About Transition Effects And Timelines?

    Answer :

    • By default, every transition lasts for one second of time.
    • Transition can last for a fixed length of time, by using transition timelines.
    • The effects are not applied to the presentation timeline.
    • The transition would effect the timeline, if it is applied to the beginning of the clip.
    • A 5-second transition would not be effected, if the clip occurs during the last 5 seconds time.
  22. MULTIMEDIA Tutorial

  23. Question 14. Describe About Transition Effects And Layouts?

    Answer :

    • The transition effects may be applied to any visual clip irrespective of the layout.
    • The area that is covered during a clip’s play is treated as its background.
    • The background can be a region color or clip in another region or a clip in the current region.
    • The transition effect introduces the clip over, or removes the clip from its background.
    • Hence, all the clips may not be the same size.
  24. Question 15. Explain About Transition Effects And Animations?

    Answer :

    • Transitions are different from SMIL animations.
    • Transition effect occurs when a clip starts or stops.
    • Animation effects while a clip plays.
    • Same presentation can have both transition and animations.
    • Both transition and animation can be applied to the same clip. The definitions of them are separate.
  25. Adobe Photoshop Interview Questions

  26. Question 16. List The Media Attributes Of Smil?

    Answer :

    Every SMIL document, every object should be included with a reference URL from src attribute.

    • The attribute type defines the media type.
    • erase - Specifies the behavior of the element after completion of timing.
    • src - Specifies the source of a media object. 
    • type - Specifies the type of the media.
  27. MySQL Tutorial

  28. Question 17. What Is

    Answer :

    The

    Following example illustrates the element:








  29. Illustrator Interview Questions

  30. Question 18. What Is

    Answer :

    The

    Following example illustrates the element:






    repeatCount="indefinite" type="wmv" />

    **** In the src attribute specify any website name.

  31. HTML Interview Questions

  32. Question 19. Why Are The Fines So High In Smil?

    Answer :

    Fines are intended as an incentive for you to bring things back to us in time, not because we really think the item is all that valuable, but because there may be a class of 30 students waiting impatiently for the item to show up.

  33. Adobe Photoshop Tutorial

  34. Question 20. Can I Use My Own Material In Smil?

    Answer :

    No problem. We'll loan you a pair of headphones if you need them. There is a problem with using your own CD-ROMs on the multimedia machines, though. We cannot allow this since the software usually requires some installation on the hard drive.

  35. 3D Animation Interview Questions

  36. Question 21. Can I Edit A Smil File Created By Preview Navigator?

    Answer :

    You can edit a SMIL file created by Preview Navigator. By using SMIL Scenario Creator, you can change the size and/or position of main video and/or indexed image sequence, and you can add other media to a SMIL file created by Preview Navigator. However, you cannot reorganize RealPix file (indexed images, button images) and RealText file (timecode, captions); you need to use Preview Navigator Trimmer for that purpose.

  37. Question 22. Can I Arrange A Multichannel Live Streaming?

    Answer :

    You can arrange multichannel live streaming. You need to create a layout for multichannel by SMIL Scenario Creator, and specify stream names via RealServer as file names. You can enjoy the multichannel live streaming very easily.

  38. XHTML Tutorial

  39. Question 23. How Can I Play A Smil File?

    Answer :

    You can play a SMIL file by using the RealPlayer.

  40. UI Developer Interview Questions

  41. Question 24. How Can I Stream A Smil File?

    Answer :

    You can stream a SMIL file via RealServer. You should upload a created SMIL file on RealServer, and in player side, for example, you should enter a location such as "rtsp://server.org/smil/sample.smi", then you can play a streaming SMIL file.

  42. HTML 5 Interview Questions

  43. Question 25. Can I Play A Smil File On Windows Media Player?

    Answer :

    Windows Media Player does not support SMIL. Currently RealPlayer and QuickTime Player can play a SMIL file.

  44. XML DOM Tutorial

  45. Question 26. How Do You Implement Push With Flex Data Services?

    Answer :

    Using Blaze DS Server & LCDS

  46. XHTML Interview Questions

  47. Question 27. What Are The Methods Called When A Ui Component Is Intialized?

    Answer :

    All components dispatch the following events that let you specify ActionScript to initialize a component:

    preInitialize: Dispatched when a component has been created in a rough state, and no children have been created.

    initialize: Dispatched when a component and all its children have been created, but before the component size has been determined.

    creationComplete: Dispatched when the component has been laid out and the component is visible (if appropriate).

  48. MULTIMEDIA Interview Questions

  49. Question 28. Can You Write To The File System From Flex?

    Answer :

    import flash.filesystem.*;
    private var stream:FileStream;
    private function saveFile():void{
    var file:File = File.desktopDirectory.resolvePath("HelloWorld.txt");
    var stream:FileStream = new FileStream()
    stream.open(file, FileMode.WRITE);
    var str:String = "Congratulations on your 1st file, Rich Tretola - EverythingFlex.com";
    stream.writeUTFBytes(str);
    stream.close();
    mx.controls.Alert.show("File has been saved to " + file.nativePath, "Notice");

  50. Question 29. What Is A Drag Manager In Adobe Flex Actionscript?

    Answer :

    The Flex Drag and Drop Manager lets you select an object, such as an item in a List control, or a Flex control, such as an Image control, and then drag it over another component to add it to that component.

  51. Web semantic Interview Questions

  52. Question 30. How Do We Call Javascript From Flex Actionscript?

    Answer :

    Using the ExternalInterface API to access JavaScript from Flex and Using the navigateToURL() method in Flex. The navigateToURL() method is in the flash.net package

    flash.external.ExternalInterface.call(function_name:String[, arg1, ...]):Object;

    navigateToURL(request:URLRequest, window:String):void