Ignore:
Timestamp:
Nov 12, 2014 10:52:13 PM (11 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/frontend/views
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/flashscript.php

    r474 r483  
    77
    88function InitViolet() {
    9   g_Flash = isInternetExplorer ? LectorEditorOnline : document.LectorEditorOnline;
     9  console.log('onload');
     10  g_Flash = document.getElementById('LectorEditorOnline');
     11  //g_Flash = isInternetExplorer ? LectorEditorOnline : document.LectorEditorOnline;
     12
     13  console.log(LectorEditorOnline);
    1014}
    1115
     
    3842// Handle all the FSCommand messages in a Flash movie.
    3943function LectorEditorOnline_DoFSCommand(command, args) {
     44
    4045  switch (command) {
    4146    case "Set Title": SetWindowTitle(args); break;
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php

    r472 r483  
    11<?php
    2 $this->load->view('layout/frontend/header', array('flashScript' => $flashScript));
     2$this->load->view('layout/frontend/header');
    33$base_url = base_url();
    44$this->load->view('layout/frontend/sidebar');
     
    1313                                                                <?php $flashVars = 'online=true&applicationId=Violet Online' ?>
    1414                                                                <?php $flashVars.= '&commonLibList=sxIOE3.xml,sxIOE4.xml,sxIOE5.xml,tnIOE3.xml,tnIOE4.xml,tnIOE5.xml' ?>
    15                                                                 <?php $flashVars.= '&youtubeUrl=Service/fake_youtube.php'.$langParam.'&command=Init OK' ?>
     15                                                                <?php $flashVars.= '&youtubeUrl='.$base_url.'assets/soanbai/Service/fake_youtube.php'.$langParam.'&command=Init OK' ?>
    1616                                                                <?php $flashVars.= '&licenseStatus='.$licenseAvailable ?>
    1717
    1818                                                                <div class="embed-responsive embed-responsive-16by9">
    19                                                                   <embed                                                                         
     19                                                                  <embed
     20                                                                          id="LectorEditorOnline"
     21                                                                          name="LectorEditorOnline"                                                                       
    2022                                                                          class="embed-responsive-item"
    2123                                                                          src="<?php echo $base_url;?>assets/soanbai/Lecture/LectureEditor.swf"
     
    2628                                                                </div>                                                 
    2729                                                                <!-- PAGE CONTENT ENDS -->
    28 
    2930                                        </div><!-- /.page-content -->
    3031                                </div><!-- /.main-content -->
     
    3536                        </a>
    3637                </div><!-- /.main-container -->
     38               
    3739<?php
    38 $this->load->view('layout/frontend/footer');
     40$this->load->view('servicemodals');
     41$this->load->view('layout/frontend/footer', array('usjs'=> array('assets/js/frontend/lecture.js')));
    3942?>
Note: See TracChangeset for help on using the changeset viewer.