Some courses won't work outside of an LMS. That's annoying when you just want to review a course, so drop this in to provide a fake SCORM API implementation - getAPI
should then pick up this fake API.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: My Custom Button | |
* Description: This is a plugin that adds a custom button to the Oxygen Builder's TinyMCE editor. | |
* Version: 1.0.0 | |
* Author: Your Name | |
*/ | |
function custom_button_plugin() { | |
if (!current_user_can('edit_posts') && !current_user_can('edit_pages')) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: AFL WC UTM First Referrer and Landing Page | |
Description: Adds the "First Website Referrer" and "First Landing Page" attributes as columns on the page=afl-wc-utm-reports. | |
Author: Brian Batt | |
Version: 1.0 | |
*/ | |
if (!defined('ABSPATH')) { | |
exit; // Exit if accessed directly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'selenium-webdriver' | |
driver = Selenium::WebDriver.for :chrome | |
wait = Selenium::WebDriver::Wait.new(:timeout => 15) | |
driver.manage.window.maximize | |
url = "https://mywebsite.com" | |
contact_case_url = url + "/support/contact/case" | |
driver.get url | |
driver.manage.timeouts.implicit_wait=(10) | |
driver.get contact_case_url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//- (void)playerViewDidBecomeReady:(nonnull YTPlayerView *)playerView{ | |
// NSLog(@"Ready to play"); | |
//[playerView setPlaybackQuality:kYTPlaybackQualitySmall]; | |
// self.playerView.tag = 1; | |
// [self.playerView playVideo]; | |
//} | |
- (void)playerViewDidBecomeReady:(YTPlayerView *)playerView { | |
TMReachability *reachability = [TMReachability reachabilityForInternetConnection]; | |
[reachability startNotifier]; |