videoplayerapp/mpxvideoplayer/src/mpxvideoplayerappuiengine.cpp
branchRCL_3
changeset 23 8f0df5c82986
parent 13 112a725ff2c2
child 26 67eb01668b0e
equal deleted inserted replaced
21:55fa1ec415c6 23:8f0df5c82986
    13 *
    13 *
    14 * Description:  AppUI engine implementation
    14 * Description:  AppUI engine implementation
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: e92_69 %
    18 // Version : %version: e92_71 %
    19 
    19 
    20 
    20 
    21 #include <eikon.hrh>
    21 #include <eikon.hrh>
    22 #include <avkon.hrh>
    22 #include <avkon.hrh>
    23 #include <aknview.h>
    23 #include <aknview.h>
   630 
   630 
   631         iPdlHandler->ConnectToCollectionDownloadL( dlId, const_cast<TDesC&>( fileUri ) );
   631         iPdlHandler->ConnectToCollectionDownloadL( dlId, const_cast<TDesC&>( fileUri ) );
   632     }
   632     }
   633     else
   633     else
   634     {
   634     {
   635         OpenMediaL( aMedia ); // Initialize and initiate playback of a single video
   635         // We use file name to initialize playback instead of mpxmedia object.
       
   636         iViewUtility->PreLoadViewL( KVideoPlaybackViewUid );
       
   637         InitializeFileL( fileUri );
   636     }
   638     }
   637 }
   639 }
   638 
   640 
   639 // ---------------------------------------------------------------------------
   641 // ---------------------------------------------------------------------------
   640 // Steps back one level back in collection path. Will activate previous view if level exists
   642 // Steps back one level back in collection path. Will activate previous view if level exists