Giter Club home page Giter Club logo

Comments (2)

unknown1818 avatar unknown1818 commented on August 16, 2024

Ok i figure it out if someone need it :P

# ----------------------- GRY - inframe
echo '<div id="game_list">'
#  NES
while IFS='|' read -r local_path file_name file_name_encoded extension; do
echo "  <icon>"
echo "      <a href=".tmp/$file_name_encoded.html" data-fancybox="game_list" data-type="iframe">"
echo "          <img src="media/images/$file_name_encoded.png" />"
echo "          <name>$file_name</name>"
echo "      </a>"
echo "  </icon>"

# Generowanie emulatora iframe

if [ $extension = nes ]
    then
        emulator=nes
    else
        echo ""
fi

cat << EOF | sudo tee "$LOCAL_PATH$REQUEST_URI_DECODED.tmp/$file_name.html" >/dev/null
<html>
<head>
  <div id="game" style="display:none;height:80%;width:80%;"></div>
</head>
<script type='text/javascript'>
  EJS_player = '#game';
  EJS_core = '$emulator';
  EJS_gameUrl = '$url$REQUEST_URI_DECODED$file_name_encoded.$extension';
  EJS_fullscreenOnLoaded = true
</script>
<script src="/js/emulatorjs_4.0.12/data/loader.js"></script>
</html>
EOF

done < temp/game_nes_list
# -------------------------------------------------------
echo '</div>'

Best filemanager website with integrated one click roms list with one click you have fullscreen game :P

from ui.

fancyapps avatar fancyapps commented on August 16, 2024

Hi, It seems that you should just disable touch events, see this demo - https://jsfiddle.net/hj3dts5e/

from ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.