• Resolved gertjank

    (@gertjank)


    Hi there,

    The new, upcoming “Gutenberg ” includes a more recent files of the React js files.
    This will break wp-content/plugins/react-webcam/js/ActualImage.js – the
    var ActualImage = React.createClass({
    line

    Result : an initial image is shown – https://www.brit-hotel-fumel.fr/contact/#piscine but the refreshing stops working.

    Detected this using WP 4.9.8

    Deactiving Gutenberg and the plugin refreshes again.

Viewing 3 replies - 16 through 18 (of 18 total)
  • for cron :

    The first command every minutes is : find /home/toto/public_html/wp-content/uploads/webcam/*.jpg -mmin +1 -exec rm {} \;

    The script which copy picture from one site to the other is, is launch every minut :
    /bin/bash /home/toto/update-webcam-sitedev.sh :
    content is :
    #!/bin/env bash

    COUNTER=0
    while [ $COUNTER -lt 6 ]; do
    # echo The counter is $COUNTER
    sleep 10
    # do what you need to here
    find /home/toto/public_html/wp-content/uploads/webcam/ -type f -name “192.168.xx.xx_01_*.jpg” -exec cp {} /home/toto/sitedev.toto.fr/wp-content/uploads/webcam/ \;
    let COUNTER=COUNTER+1
    done

    br
    Eric

    • This reply was modified 5 years, 9 months ago by 006fazer.

    Thank you @006fazer !

    Hi @bpahe,

    Your topic is mark as resolved. How did you do this ?

    thanks

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Gutenberg will break react-webcam’ is closed to new replies.